[llvm] r210400 - Build fix: remove initializeJumpInstrTablesPass() call from LTO

Tom Roeder tmroeder at google.com
Mon Jun 9 10:51:00 PDT 2014


Thanks for catching this. This appears to have been a spurious
dependency, and your fix looks right.

On Sat, Jun 7, 2014 at 1:39 PM, Alp Toker <alp at nuanti.com> wrote:
> Author: alp
> Date: Sat Jun  7 15:39:53 2014
> New Revision: 210400
>
> URL: http://llvm.org/viewvc/llvm-project?rev=210400&view=rev
> Log:
> Build fix: remove initializeJumpInstrTablesPass() call from LTO
>
> This was incurring an unsatisfied dependency on CodeGen from LTO breaking
> shared builds:
>
> Undefined symbols for architecture x86_64:
>   "llvm::initializeJumpInstrTablesPass(llvm::PassRegistry&)", referenced from:
>       llvm::LTOCodeGenerator::initializeLTOPasses() in LTOCodeGenerator.cpp.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>
> Removed as a temporary measure pending feedback from the author.
>
> Modified:
>     llvm/trunk/lib/LTO/LTOCodeGenerator.cpp
>
> Modified: llvm/trunk/lib/LTO/LTOCodeGenerator.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/LTO/LTOCodeGenerator.cpp?rev=210400&r1=210399&r2=210400&view=diff
> ==============================================================================
> --- llvm/trunk/lib/LTO/LTOCodeGenerator.cpp (original)
> +++ llvm/trunk/lib/LTO/LTOCodeGenerator.cpp Sat Jun  7 15:39:53 2014
> @@ -96,7 +96,6 @@ void LTOCodeGenerator::initializeLTOPass
>    initializeConstantMergePass(R);
>    initializeDAHPass(R);
>    initializeInstCombinerPass(R);
> -  initializeJumpInstrTablesPass(R);
>    initializeSimpleInlinerPass(R);
>    initializePruneEHPass(R);
>    initializeGlobalDCEPass(R);
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list