summaryrefslogtreecommitdiffstats
path: root/clang/unittests/libclang
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
commit8bf7af3de80fe746cb39fe03b19e6e736183c1d8 (patch)
tree3631796942b357f01d486a34631e918d05db7b86 /clang/unittests/libclang
parentb6396eaef90c9f3dee42d8af918b93b6628b9f4a (diff)
downloadbcm5719-llvm-8bf7af3de80fe746cb39fe03b19e6e736183c1d8.tar.gz
bcm5719-llvm-8bf7af3de80fe746cb39fe03b19e6e736183c1d8.zip
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 llvm-svn: 230423
Diffstat (limited to 'clang/unittests/libclang')
-rw-r--r--clang/unittests/libclang/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/unittests/libclang/Makefile b/clang/unittests/libclang/Makefile
index f8e83aa83a1..ea60fc59246 100644
--- a/clang/unittests/libclang/Makefile
+++ b/clang/unittests/libclang/Makefile
@@ -12,13 +12,14 @@ TESTNAME = libclang
LINK_LIBS_IN_SHARED := 1
include $(CLANG_LEVEL)/../../Makefile.config
-LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc option
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader ipo objcarcopts \
+ instrumentation bitwriter support mc option
# Note that 'USEDLIBS' must include all of the core clang libraries
# when -static is given to linker on cygming.
USEDLIBS = clang.a \
clangIndex.a clangFormat.a clangRewrite.a \
- clangFrontend.a clangDriver.a \
+ clangCodeGen.a clangFrontend.a clangDriver.a \
clangTooling.a \
clangToolingCore.a \
clangSerialization.a clangParse.a clangSema.a \
OpenPOWER on IntegriCloud