diff options
author | emaste <emaste@FreeBSD.org> | 2013-09-20 01:52:02 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2013-09-20 01:52:02 +0000 |
commit | 51ba585f88949f7d515cf6be9c32aa678838a67c (patch) | |
tree | 03c4639d8dd72b5865e528b3705c2061add52e92 /lib/clang/libllvmsupport | |
parent | 07c75ee46c7f2c2fa93ef848a944b6c054d22168 (diff) | |
download | FreeBSD-src-51ba585f88949f7d515cf6be9c32aa678838a67c.zip FreeBSD-src-51ba585f88949f7d515cf6be9c32aa678838a67c.tar.gz |
Add LLDB bmake infrastructure
This connects LLDB to the build, but it is disabled by default. Add
WITH_LLDB= to src.conf to build it.
Note that LLDB requires a C++11 compiler so is disabled on platforms
using GCC.
Approved by: re (gjb)
Sponsored by: DARPA, AFRL
Diffstat (limited to 'lib/clang/libllvmsupport')
-rw-r--r-- | lib/clang/libllvmsupport/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile index 6d043b4..ff9b9cb 100644 --- a/lib/clang/libllvmsupport/Makefile +++ b/lib/clang/libllvmsupport/Makefile @@ -84,11 +84,14 @@ SRCS= APFloat.cpp \ regstrlcpy.c \ system_error.cpp +.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" +SRCS+= DataExtractor.cpp \ + Disassembler.cpp +.endif + .if ${MK_CLANG_EXTRAS} != "no" SRCS+= Compression.cpp \ - DataExtractor.cpp \ DataStream.cpp \ - Disassembler.cpp \ FileUtilities.cpp \ SystemUtils.cpp .endif |