summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-10-30 17:30:44 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-10-30 17:30:44 +0000
commit22a7dfea585703d6755db69b83e29a0e6ee10369 (patch)
treecfb53988caccc1f9a94f66ec59c8da2c0f2f0cb1 /examples
parent80b32b8c6546a12cf0d4af9c2cd785ec1f123188 (diff)
Add support for lazily linking bitcode files (using a new
-mlink-bitcode-file flag), and more generally llvm::Modules, before running optimisations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/clang-interpreter/CMakeLists.txt1
-rw-r--r--examples/clang-interpreter/Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/clang-interpreter/CMakeLists.txt b/examples/clang-interpreter/CMakeLists.txt
index a747b92a76..4d5d4bf944 100644
--- a/examples/clang-interpreter/CMakeLists.txt
+++ b/examples/clang-interpreter/CMakeLists.txt
@@ -25,6 +25,7 @@ set(LLVM_LINK_COMPONENTS
bitwriter
codegen
ipo
+ linker
selectiondag
)
diff --git a/examples/clang-interpreter/Makefile b/examples/clang-interpreter/Makefile
index b565bb172b..696b99ffdb 100644
--- a/examples/clang-interpreter/Makefile
+++ b/examples/clang-interpreter/Makefile
@@ -16,7 +16,7 @@ NO_INSTALL = 1
TOOL_NO_EXPORTS = 1
LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \
- selectiondag asmparser instrumentation
+ linker selectiondag asmparser instrumentation
USEDLIBS = clangFrontend.a clangSerialization.a clangDriver.a clangCodeGen.a \
clangParse.a clangSema.a clangStaticAnalyzerFrontend.a \
clangStaticAnalyzerCheckers.a clangStaticAnalyzerCore.a \