Skip to content

Commit

Permalink
Export __tvm_startup
Browse files Browse the repository at this point in the history
  • Loading branch information
nhynes committed Oct 19, 2018
1 parent 0f8c0dc commit edfc72e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen/llvm/codegen_cpu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ void CodeGenCPU::AddStartupFunction() {
llvm::FunctionType* ftype = llvm::FunctionType::get(t_void_, {}, false);
function_ = llvm::Function::Create(
ftype,
llvm::Function::InternalLinkage,
llvm::Function::ExternalLinkage,
"__tvm_module_startup", module_.get());
llvm::BasicBlock* startup_entry = llvm::BasicBlock::Create(*ctx_, "entry", function_);
builder_->SetInsertPoint(startup_entry);
Expand Down

0 comments on commit edfc72e

Please sign in to comment.