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
This commit is contained in:
Piotr Kubaj 2022-01-26 15:02:28 +01:00
parent 9e2cce7e6a
commit 0b2d2290fe
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -282,7 +282,7 @@ __DEFAULT_NO_OPTIONS+=LLVM_TARGET_BPF LLVM_TARGET_MIPS
.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