aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-01-26 14:02:28 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-02-08 12:26:02 +0000
commitcb1bee9bd342b29c44c29662d4d74c4a5273b9d7 (patch)
tree9439b3c91cf08981f73edf2debac9f8b6c98718c
parent64e0f75f3928f5d92d7d8d29311f2542668bbb22 (diff)
downloadsrc-cb1bee9bd34.tar.gz
src-cb1bee9bd34.zip
powerpc: Enable LLDB on all powerpc architectures
While LLDB on powerpc and powerpcspe builds as-is, on powerpc64 and powerpc64le it requires adding a couple of additional source files to build. Differential review: https://reviews.freebsd.org/D34043 Approved by: dim, imp, emaste (cherry picked from commit 0b2d2290fe6d4b07d26a4eb0bceadcd2b9b27fd6)
-rw-r--r--lib/clang/liblldb/Makefile3
-rw-r--r--share/mk/src.opts.mk2
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/clang/liblldb/Makefile b/lib/clang/liblldb/Makefile
index 5672464a9213..ef0bc3e1e785 100644
--- a/lib/clang/liblldb/Makefile
+++ b/lib/clang/liblldb/Makefile
@@ -390,7 +390,9 @@ SRCS+= Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp
SRCS+= Plugins/Language/CPlusPlus/MSVCUndecoratedNameParser.cpp
SRCS+= Plugins/Language/ClangCommon/ClangHighlighter.cpp
SRCS+= Plugins/Language/ObjC/CF.cpp
+SRCS+= Plugins/Language/ObjC/CFBasicHash.cpp
SRCS+= Plugins/Language/ObjC/Cocoa.cpp
+SRCS+= Plugins/Language/ObjC/CoreMedia.cpp
SRCS+= Plugins/Language/ObjC/NSArray.cpp
SRCS+= Plugins/Language/ObjC/NSDictionary.cpp
SRCS+= Plugins/Language/ObjC/NSError.cpp
@@ -407,6 +409,7 @@ SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThrough
SRCS+= Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
SRCS+= Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
SRCS+= Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
+SRCS+= Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
SRCS+= Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
SRCS+= Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
SRCS+= Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index e594e90192ad..3fb104ad1c50 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -284,7 +284,7 @@ __DEFAULT_NO_OPTIONS+=LLVM_TARGET_BPF
.include <bsd.compiler.mk>
-.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "i386"
+.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "i386" || ${__T:Mpowerpc*}
__DEFAULT_YES_OPTIONS+=LLDB
.else
__DEFAULT_NO_OPTIONS+=LLDB