summaryrefslogtreecommitdiff
path: root/tools/clang-check
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-02-20 23:34:26 +0000
committerAdrian Prantl <aprantl@apple.com>2015-02-20 23:34:26 +0000
commit4d355e22e150ad96f50beed1c1ae5a5a8370c3f2 (patch)
tree2980270e5e057ae79af90fa738fcae67366d07d0 /tools/clang-check
parentff780299d2517c9e2bd5ce34ab59e150043ac633 (diff)
downloadclang-4d355e22e150ad96f50beed1c1ae5a5a8370c3f2.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 2. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230089 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