summaryrefslogtreecommitdiff
path: root/tools/clang-check
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-02-24 04:25:59 +0000
committerAdrian Prantl <aprantl@apple.com>2015-02-24 04:25:59 +0000
commitb114a1de0ae06cc586b94b6359924c8632f069f9 (patch)
tree029a086c68bab60a277405e45fbf72e375a494ba /tools/clang-check
parentbf25ca0250067c7692af95be112f00b874914e6c (diff)
downloadclang-b114a1de0ae06cc586b94b6359924c8632f069f9.tar.gz
Wrap clang module files in a Mach-O, ELF, or COFF container.
This is a necessary prerequisite for debugging with modules. The .pcm files become containers that hold the serialized AST which allows us to store debug information in the module file that can be shared by all object files that were built importing the module. rdar://problem/19104245 This reapplies r230044 with a fixed configure+make build and updated dependencies. Take 3. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230305 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/clang-check')
-rw-r--r--tools/clang-check/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/clang-check/Makefile b/tools/clang-check/Makefile
index e98a131de5..3f54a5b5b1 100644
--- a/tools/clang-check/Makefile
+++ b/tools/clang-check/Makefile
@@ -15,9 +15,10 @@ TOOLNAME = clang-check
TOOL_NO_EXPORTS = 1
include $(CLANG_LEVEL)/../../Makefile.config
-LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc option
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader bitwriter \
+ instrumentation ipo mc option objcarcopts support
USEDLIBS = clangFrontend.a clangSerialization.a clangDriver.a \
- clangTooling.a clangParse.a clangSema.a \
+ clangCodeGen.a clangTooling.a clangParse.a clangSema.a \
clangStaticAnalyzerFrontend.a clangStaticAnalyzerCheckers.a \
clangStaticAnalyzerCore.a clangAnalysis.a clangRewriteFrontend.a \
clangRewrite.a clangEdit.a clangAST.a clangLex.a clangBasic.a