[PM] Fix a compile error I introduced in r229094 and didn't notice
authorChandler Carruth <chandlerc@gmail.com>
Fri, 13 Feb 2015 21:10:58 +0000 (21:10 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 13 Feb 2015 21:10:58 +0000 (21:10 +0000)
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.

llvm-svn: 229156

llvm/tools/gold/gold-plugin.cpp

index 9d09e0f..2b85479 100644 (file)
@@ -697,7 +697,7 @@ static void runLTOPasses(Module &M, TargetMachine &TM) {
   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;