[llvm] r229156 - [PM] Fix a compile error I introduced in r229094 and didn't notice
Chandler Carruth
chandlerc at gmail.com
Fri Feb 13 13:10:58 PST 2015
Author: chandlerc
Date: Fri Feb 13 15:10:58 2015
New Revision: 229156
URL: http://llvm.org/viewvc/llvm-project?rev=229156&view=rev
Log:
[PM] Fix a compile error I introduced in r229094 and didn't notice
because I didn't have binutils set up properly to build the gold plugin.
Fixes PR22581 which was filed because this broke the build for folks
relying on the plugin. Very sorry! =]
I've gotten the plugin stuff building now as well so it shouldn't keep
happening.
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=229156&r1=229155&r2=229156&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Fri Feb 13 15:10:58 2015
@@ -697,7 +697,7 @@ static void runLTOPasses(Module &M, Targ
passes.add(new DataLayoutPass());
passes.add(createTargetTransformInfoWrapperPass(TM.getTargetIRAnalysis()));
- legacy::PassManagerBuilder PMB;
+ PassManagerBuilder PMB;
PMB.LibraryInfo = new TargetLibraryInfoImpl(Triple(TM.getTargetTriple()));
PMB.Inliner = createFunctionInliningPass();
PMB.VerifyInput = true;
More information about the llvm-commits
mailing list