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

Method MaterializeModule

be/src/codegen/llvm-codegen.cc:1134–1144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1132}
1133
1134Status LlvmCodeGen::MaterializeModule() {
1135 llvm::Error err = module_->materializeAll();
1136 if (UNLIKELY(err)) {
1137 string err_string;
1138 llvm::handleAllErrors(
1139 move(err), [&](llvm::ErrorInfoBase& eib) { err_string = eib.message(); });
1140 return Status(Substitute("Failed to materialize module $0: $1",
1141 module_->getName().str(), err_string));
1142 }
1143 return Status::OK();
1144}
1145
1146// It's okay to call this function even if the module has been materialized.
1147Status LlvmCodeGen::FinalizeLazyMaterialization() {

Callers 4

CreateFromFileMethod · 0.80
InitializeLlvmMethod · 0.80
CreateFromFileMethod · 0.80
CreateFromFileMethod · 0.80

Calls 7

moveFunction · 0.85
SubstituteFunction · 0.85
OKFunction · 0.85
getNameMethod · 0.65
StatusClass · 0.50
messageMethod · 0.45
strMethod · 0.45

Tested by 3

CreateFromFileMethod · 0.64
CreateFromFileMethod · 0.64
CreateFromFileMethod · 0.64