aboutsummaryrefslogtreecommitdiff
path: root/examples/clang-interpreter
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-06-08 19:23:49 +0000
committerDouglas Gregor <dgregor@apple.com>2010-06-08 19:23:49 +0000
commiteb5dc498da53b50633eb9b19ca43b8988c340f0d (patch)
tree33442f6de69450afdb6f9783df3c1b98aeb4fd75 /examples/clang-interpreter
parent45f5b54d67215639ae6585d12df5133e99180c2b (diff)
Teach the PrintFunctionNames example to be a proper module, so that
Clang can load it as a plugin. Original fix by Troy D. Straszheim, which I extended with Darwin support. Fixes PR6801. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105630 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/clang-interpreter')
-rw-r--r--examples/clang-interpreter/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/clang-interpreter/CMakeLists.txt b/examples/clang-interpreter/CMakeLists.txt
index 0f63b5f5b9..1aa9b2b592 100644
--- a/examples/clang-interpreter/CMakeLists.txt
+++ b/examples/clang-interpreter/CMakeLists.txt
@@ -18,8 +18,10 @@ set(LLVM_LINK_COMPONENTS
jit
interpreter
nativecodegen
+ asmparser
bitreader
bitwriter
+ codegen
ipo
selectiondag
)