forked from OSchip/llvm-project
opt was not exporting the Mangler symbols
llvm-svn: 58775
This commit is contained in:
parent
eb39732d53
commit
912e7131a4
|
@ -44,9 +44,10 @@ namespace {
|
|||
// to know that getenv() never returns -1, this will do the job.
|
||||
if (std::getenv("bar") != (char*) -1)
|
||||
return;
|
||||
(void)new llvm::Module("");
|
||||
llvm::Module* M = new llvm::Module("");
|
||||
(void)new llvm::UnreachableInst();
|
||||
(void) llvm::createVerifierPass();
|
||||
(void) new llvm::Mangler(*M,"");
|
||||
}
|
||||
} ForceVMCoreLinking;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue