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/liblldbPluginProcessElfCore | |
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/liblldbPluginProcessElfCore')
-rw-r--r-- | lib/clang/liblldbPluginProcessElfCore/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/clang/liblldbPluginProcessElfCore/Makefile b/lib/clang/liblldbPluginProcessElfCore/Makefile new file mode 100644 index 0000000..1d5dec3 --- /dev/null +++ b/lib/clang/liblldbPluginProcessElfCore/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginProcessElfCore + +CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/POSIX +CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Utility + +SRCDIR= tools/lldb/source/Plugins/Process/elf-core +SRCS= ProcessElfCore.cpp \ + ThreadElfCore.cpp \ + RegisterContextCoreLinux_x86_64.cpp \ + RegisterContextCoreFreeBSD_x86_64.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" |