svn commit: r351520 - in projects/clang900-import/usr.bin/clang: . lldb-tblgen
Dimitry Andric
dim at FreeBSD.org
Mon Aug 26 20:57:46 UTC 2019
Author: dim
Date: Mon Aug 26 20:57:45 2019
New Revision: 351520
URL: https://svnweb.freebsd.org/changeset/base/351520
Log:
Add lldb-tblgen tool.
Added:
projects/clang900-import/usr.bin/clang/lldb-tblgen/
projects/clang900-import/usr.bin/clang/lldb-tblgen/Makefile (contents, props changed)
Modified:
projects/clang900-import/usr.bin/clang/Makefile
projects/clang900-import/usr.bin/clang/llvm.prog.mk
Modified: projects/clang900-import/usr.bin/clang/Makefile
==============================================================================
--- projects/clang900-import/usr.bin/clang/Makefile Mon Aug 26 20:56:16 2019 (r351519)
+++ projects/clang900-import/usr.bin/clang/Makefile Mon Aug 26 20:57:45 2019 (r351520)
@@ -6,6 +6,10 @@ SUBDIR+= clang
SUBDIR+= clang-tblgen
SUBDIR+= llvm-tblgen
+.if ${MK_LLDB} != "no"
+SUBDIR+= lldb-tblgen
+.endif
+
.if !defined(TOOLS_PREFIX)
SUBDIR+= llvm-ar
SUBDIR+= llvm-nm
Added: projects/clang900-import/usr.bin/clang/lldb-tblgen/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/clang900-import/usr.bin/clang/lldb-tblgen/Makefile Mon Aug 26 20:57:45 2019 (r351520)
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+PROG_CXX= lldb-tblgen
+MAN=
+
+SRCDIR= tools/lldb/utils/TableGen
+SRCS+= LLDBOptionDefEmitter.cpp
+SRCS+= LLDBTableGen.cpp
+
+.include "../llvm.prog.mk"
Modified: projects/clang900-import/usr.bin/clang/llvm.prog.mk
==============================================================================
--- projects/clang900-import/usr.bin/clang/llvm.prog.mk Mon Aug 26 20:56:16 2019 (r351519)
+++ projects/clang900-import/usr.bin/clang/llvm.prog.mk Mon Aug 26 20:57:45 2019 (r351520)
@@ -8,7 +8,8 @@ CFLAGS+= -I${OBJTOP}/lib/clang/libllvm
# Special case for the bootstrap-tools phase.
.if (defined(TOOLS_PREFIX) || ${MACHINE} == "host") && \
- (${PROG_CXX} == "clang-tblgen" || ${PROG_CXX} == "llvm-tblgen")
+ (${PROG_CXX} == "clang-tblgen" || ${PROG_CXX} == "lldb-tblgen" || \
+ ${PROG_CXX} == "llvm-tblgen")
LIBDEPS+= llvmminimal
.else
LIBDEPS+= llvm
More information about the svn-src-projects
mailing list