[llvm] r227004 - Update of the gold-plugin.cpp code to match Chandler's changes (r226981)
Sylvestre Ledru
sylvestre at debian.org
Sat Jan 24 05:59:09 PST 2015
Author: sylvestre
Date: Sat Jan 24 07:59:08 2015
New Revision: 227004
URL: http://llvm.org/viewvc/llvm-project?rev=227004&view=rev
Log:
Update of the gold-plugin.cpp code to match Chandler's changes (r226981)
Modified:
llvm/trunk/tools/gold/gold-plugin.cpp
Modified: llvm/trunk/tools/gold/gold-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold-plugin.cpp?rev=227004&r1=227003&r2=227004&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Sat Jan 24 07:59:08 2015
@@ -699,7 +699,7 @@ getModuleForFile(LLVMContext &Context, c
static void runLTOPasses(Module &M, TargetMachine &TM) {
PassManager passes;
PassManagerBuilder PMB;
- PMB.LibraryInfo = new TargetLibraryInfo(Triple(TM.getTargetTriple()));
+ PMB.LibraryInfo = new TargetLibraryInfoImpl(Triple(TM.getTargetTriple()));
PMB.Inliner = createFunctionInliningPass();
PMB.VerifyInput = true;
PMB.VerifyOutput = true;
More information about the llvm-commits
mailing list