[llvm-commits] [llvm] r58775 - /llvm/trunk/include/llvm/LinkAllVMCore.h
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Wed Nov 5 14:42:51 PST 2008
Author: alenhar2
Date: Wed Nov 5 16:42:50 2008
New Revision: 58775
URL: http://llvm.org/viewvc/llvm-project?rev=58775&view=rev
Log:
opt was not exporting the Mangler symbols
Modified:
llvm/trunk/include/llvm/LinkAllVMCore.h
Modified: llvm/trunk/include/llvm/LinkAllVMCore.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LinkAllVMCore.h?rev=58775&r1=58774&r2=58775&view=diff
==============================================================================
--- llvm/trunk/include/llvm/LinkAllVMCore.h (original)
+++ llvm/trunk/include/llvm/LinkAllVMCore.h Wed Nov 5 16:42:50 2008
@@ -44,9 +44,10 @@
// 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;
}
More information about the llvm-commits
mailing list