From 51ba585f88949f7d515cf6be9c32aa678838a67c Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 20 Sep 2013 01:52:02 +0000 Subject: 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 --- lib/clang/libllvmsupport/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/clang/libllvmsupport/Makefile') 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 -- cgit v1.1