summaryrefslogtreecommitdiffstats
path: root/unittests/Sema
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-02-25 01:31:45 +0000
committerAdrian Prantl <aprantl@apple.com>2015-02-25 01:31:45 +0000
commit407c31db6cd9d4b8149c4da4522b9ba782abe705 (patch)
tree7ce73227f28838432827cf322062c5a24d0cf994 /unittests/Sema
parent872f3b03ebadc90038f253e6a16a97df1ecb4ffa (diff)
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. This reapplies r230044 with a fixed configure+make build and updated dependencies and testcase requirements. Over the last iteration this version adds - missing target requirements for testcases that specify an x86 triple, - a missing clangCodeGen.a dependency to libClang.a in the make build. rdar://problem/19104245 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230423 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Sema')
-rw-r--r--unittests/Sema/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/unittests/Sema/Makefile b/unittests/Sema/Makefile
index 7fd5c27ad6..65ab9bc8dc 100644
--- a/unittests/Sema/Makefile
+++ b/unittests/Sema/Makefile
@@ -10,9 +10,10 @@
CLANG_LEVEL = ../..
TESTNAME = Sema
include $(CLANG_LEVEL)/../../Makefile.config
-LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc option
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader bitwriter \
+ instrumentation mc option objcarcopts support
USEDLIBS = clangTooling.a clangFrontend.a clangSerialization.a clangDriver.a \
- clangRewrite.a clangRewriteFrontend.a \
+ clangCodeGen.a clangRewrite.a clangRewriteFrontend.a \
clangParse.a clangSema.a clangAnalysis.a \
clangEdit.a clangAST.a clangASTMatchers.a clangLex.a clangBasic.a