summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-07 20:39:53 +0000
committerAlp Toker <alp@nuanti.com>2014-06-07 20:39:53 +0000
commit17dd8efe9e37d7e5fcb659bee8f614cd6a0f5b7d (patch)
tree04dfae3612b8b7e574cf2f738ecbbfc500ae3b29 /llvm/lib
parent90386ad60aaf70581293138f4124a2ec47ac7eb7 (diff)
downloadbcm5719-llvm-17dd8efe9e37d7e5fcb659bee8f614cd6a0f5b7d.tar.gz
bcm5719-llvm-17dd8efe9e37d7e5fcb659bee8f614cd6a0f5b7d.zip
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. llvm-svn: 210400
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/LTO/LTOCodeGenerator.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOCodeGenerator.cpp b/llvm/lib/LTO/LTOCodeGenerator.cpp
index aa7a968d50f..99236bd24ea 100644
--- a/llvm/lib/LTO/LTOCodeGenerator.cpp
+++ b/llvm/lib/LTO/LTOCodeGenerator.cpp
@@ -96,7 +96,6 @@ void LTOCodeGenerator::initializeLTOPasses() {
initializeConstantMergePass(R);
initializeDAHPass(R);
initializeInstCombinerPass(R);
- initializeJumpInstrTablesPass(R);
initializeSimpleInlinerPass(R);
initializePruneEHPass(R);
initializeGlobalDCEPass(R);
OpenPOWER on IntegriCloud