MCPcopy Create free account
hub / github.com/apache/impala / CreateFromFile

Method CreateFromFile

be/src/codegen/llvm-codegen-test.cc:111–115  ·  view source on GitHub ↗

Wrapper to call private test-only methods on LlvmCodeGen object

Source from the content-addressed store, hash-verified

109
110 // Wrapper to call private test-only methods on LlvmCodeGen object
111 Status CreateFromFile(const string& filename, scoped_ptr<LlvmCodeGen>* codegen) {
112 RETURN_IF_ERROR(LlvmCodeGen::CreateFromFile(fragment_state_,
113 fragment_state_->obj_pool(), NULL, filename, "test", codegen));
114 return (*codegen)->MaterializeModule();
115 }
116
117 static void AddFunctionToJit(LlvmCodeGen* codegen, llvm::Function* fn,
118 CodegenFnPtrBase* fn_ptr) {

Callers

nothing calls this directly

Calls 2

MaterializeModuleMethod · 0.80
obj_poolMethod · 0.45

Tested by

no test coverage detected