1# $FreeBSD$ 2 3.include "../lldb.pre.mk" 4 5LIB= lldb 6SRCDIR= lldb/source 7 8CFLAGS+= -I${LLDB_SRCS}/include 9CFLAGS+= -I${LLDB_SRCS}/source 10#CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/FreeBSD 11#CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/POSIX 12#CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/Utility 13CFLAGS+= -I${OBJTOP}/lib/clang/libllvm 14CFLAGS+= -I${OBJTOP}/lib/clang/libclang 15CFLAGS+= -I${OBJTOP}/lib/clang/liblldb 16CFLAGS+= -I${SRCTOP}/contrib/lua/src 17CFLAGS+= -I${SRCTOP}/lib/liblua 18 19SRCS+= API/SBAddress.cpp 20SRCS+= API/SBAttachInfo.cpp 21SRCS+= API/SBBlock.cpp 22SRCS+= API/SBBreakpoint.cpp 23SRCS+= API/SBBreakpointLocation.cpp 24SRCS+= API/SBBreakpointName.cpp 25SRCS+= API/SBBreakpointOptionCommon.cpp 26SRCS+= API/SBBroadcaster.cpp 27SRCS+= API/SBCommandInterpreter.cpp 28SRCS+= API/SBCommandInterpreterRunOptions.cpp 29SRCS+= API/SBCommandReturnObject.cpp 30SRCS+= API/SBCommunication.cpp 31SRCS+= API/SBCompileUnit.cpp 32SRCS+= API/SBData.cpp 33SRCS+= API/SBDebugger.cpp 34SRCS+= API/SBDeclaration.cpp 35SRCS+= API/SBEnvironment.cpp 36SRCS+= API/SBError.cpp 37SRCS+= API/SBEvent.cpp 38SRCS+= API/SBExecutionContext.cpp 39SRCS+= API/SBExpressionOptions.cpp 40SRCS+= API/SBFile.cpp 41SRCS+= API/SBFileSpec.cpp 42SRCS+= API/SBFileSpecList.cpp 43SRCS+= API/SBFrame.cpp 44SRCS+= API/SBFunction.cpp 45SRCS+= API/SBHostOS.cpp 46SRCS+= API/SBInstruction.cpp 47SRCS+= API/SBInstructionList.cpp 48SRCS+= API/SBLanguageRuntime.cpp 49SRCS+= API/SBLaunchInfo.cpp 50SRCS+= API/SBLineEntry.cpp 51SRCS+= API/SBListener.cpp 52SRCS+= API/SBMemoryRegionInfo.cpp 53SRCS+= API/SBMemoryRegionInfoList.cpp 54SRCS+= API/SBModule.cpp 55SRCS+= API/SBModuleSpec.cpp 56SRCS+= API/SBPlatform.cpp 57SRCS+= API/SBProcess.cpp 58SRCS+= API/SBProcessInfo.cpp 59SRCS+= API/SBQueue.cpp 60SRCS+= API/SBQueueItem.cpp 61SRCS+= API/SBReproducer.cpp 62SRCS+= API/SBSection.cpp 63SRCS+= API/SBSourceManager.cpp 64SRCS+= API/SBStream.cpp 65SRCS+= API/SBStringList.cpp 66SRCS+= API/SBStructuredData.cpp 67SRCS+= API/SBSymbol.cpp 68SRCS+= API/SBSymbolContext.cpp 69SRCS+= API/SBSymbolContextList.cpp 70SRCS+= API/SBTarget.cpp 71SRCS+= API/SBThread.cpp 72SRCS+= API/SBThreadCollection.cpp 73SRCS+= API/SBThreadPlan.cpp 74SRCS+= API/SBTrace.cpp 75SRCS+= API/SBType.cpp 76SRCS+= API/SBTypeCategory.cpp 77SRCS+= API/SBTypeEnumMember.cpp 78SRCS+= API/SBTypeFilter.cpp 79SRCS+= API/SBTypeFormat.cpp 80SRCS+= API/SBTypeNameSpecifier.cpp 81SRCS+= API/SBTypeSummary.cpp 82SRCS+= API/SBTypeSynthetic.cpp 83SRCS+= API/SBUnixSignals.cpp 84SRCS+= API/SBValue.cpp 85SRCS+= API/SBValueList.cpp 86SRCS+= API/SBVariablesOptions.cpp 87SRCS+= API/SBWatchpoint.cpp 88SRCS+= API/SystemInitializerFull.cpp 89SRCS+= Breakpoint/Breakpoint.cpp 90SRCS+= Breakpoint/BreakpointID.cpp 91SRCS+= Breakpoint/BreakpointIDList.cpp 92SRCS+= Breakpoint/BreakpointList.cpp 93SRCS+= Breakpoint/BreakpointLocation.cpp 94SRCS+= Breakpoint/BreakpointLocationCollection.cpp 95SRCS+= Breakpoint/BreakpointLocationList.cpp 96SRCS+= Breakpoint/BreakpointName.cpp 97SRCS+= Breakpoint/BreakpointOptions.cpp 98SRCS+= Breakpoint/BreakpointResolver.cpp 99SRCS+= Breakpoint/BreakpointResolverAddress.cpp 100SRCS+= Breakpoint/BreakpointResolverFileLine.cpp 101SRCS+= Breakpoint/BreakpointResolverFileRegex.cpp 102SRCS+= Breakpoint/BreakpointResolverName.cpp 103SRCS+= Breakpoint/BreakpointResolverScripted.cpp 104SRCS+= Breakpoint/BreakpointSite.cpp 105SRCS+= Breakpoint/BreakpointSiteList.cpp 106SRCS+= Breakpoint/Stoppoint.cpp 107SRCS+= Breakpoint/StoppointCallbackContext.cpp 108SRCS+= Breakpoint/StoppointSite.cpp 109SRCS+= Breakpoint/Watchpoint.cpp 110SRCS+= Breakpoint/WatchpointList.cpp 111SRCS+= Breakpoint/WatchpointOptions.cpp 112SRCS+= Commands/CommandCompletions.cpp 113SRCS+= Commands/CommandObjectApropos.cpp 114SRCS+= Commands/CommandObjectBreakpoint.cpp 115SRCS+= Commands/CommandObjectBreakpointCommand.cpp 116SRCS+= Commands/CommandObjectCommands.cpp 117SRCS+= Commands/CommandObjectDisassemble.cpp 118SRCS+= Commands/CommandObjectExpression.cpp 119SRCS+= Commands/CommandObjectFrame.cpp 120SRCS+= Commands/CommandObjectGUI.cpp 121SRCS+= Commands/CommandObjectHelp.cpp 122SRCS+= Commands/CommandObjectLanguage.cpp 123SRCS+= Commands/CommandObjectLog.cpp 124SRCS+= Commands/CommandObjectMemory.cpp 125SRCS+= Commands/CommandObjectMemoryTag.cpp 126SRCS+= Commands/CommandObjectMultiword.cpp 127SRCS+= Commands/CommandObjectPlatform.cpp 128SRCS+= Commands/CommandObjectPlugin.cpp 129SRCS+= Commands/CommandObjectProcess.cpp 130SRCS+= Commands/CommandObjectQuit.cpp 131SRCS+= Commands/CommandObjectRegexCommand.cpp 132SRCS+= Commands/CommandObjectRegister.cpp 133SRCS+= Commands/CommandObjectReproducer.cpp 134SRCS+= Commands/CommandObjectScript.cpp 135SRCS+= Commands/CommandObjectSession.cpp 136SRCS+= Commands/CommandObjectSettings.cpp 137SRCS+= Commands/CommandObjectSource.cpp 138SRCS+= Commands/CommandObjectStats.cpp 139SRCS+= Commands/CommandObjectTarget.cpp 140SRCS+= Commands/CommandObjectThread.cpp 141SRCS+= Commands/CommandObjectThreadUtil.cpp 142SRCS+= Commands/CommandObjectTrace.cpp 143SRCS+= Commands/CommandObjectType.cpp 144SRCS+= Commands/CommandObjectVersion.cpp 145SRCS+= Commands/CommandObjectWatchpoint.cpp 146SRCS+= Commands/CommandObjectWatchpointCommand.cpp 147SRCS+= Commands/CommandOptionsProcessLaunch.cpp 148SRCS+= Core/Address.cpp 149SRCS+= Core/AddressRange.cpp 150SRCS+= Core/AddressResolver.cpp 151SRCS+= Core/AddressResolverFileLine.cpp 152SRCS+= Core/Communication.cpp 153SRCS+= Core/Debugger.cpp 154SRCS+= Core/Declaration.cpp 155SRCS+= Core/Disassembler.cpp 156SRCS+= Core/DumpDataExtractor.cpp 157SRCS+= Core/DumpRegisterValue.cpp 158SRCS+= Core/DynamicLoader.cpp 159SRCS+= Core/EmulateInstruction.cpp 160SRCS+= Core/FileLineResolver.cpp 161SRCS+= Core/FileSpecList.cpp 162SRCS+= Core/FormatEntity.cpp 163SRCS+= Core/Highlighter.cpp 164SRCS+= Core/IOHandler.cpp 165SRCS+= Core/IOHandlerCursesGUI.cpp 166SRCS+= Core/Mangled.cpp 167SRCS+= Core/Module.cpp 168SRCS+= Core/ModuleChild.cpp 169SRCS+= Core/ModuleList.cpp 170SRCS+= Core/Opcode.cpp 171SRCS+= Core/PluginManager.cpp 172SRCS+= Core/Progress.cpp 173SRCS+= Core/RichManglingContext.cpp 174SRCS+= Core/SearchFilter.cpp 175SRCS+= Core/Section.cpp 176SRCS+= Core/SourceLocationSpec.cpp 177SRCS+= Core/SourceManager.cpp 178SRCS+= Core/StreamAsynchronousIO.cpp 179SRCS+= Core/StreamFile.cpp 180SRCS+= Core/UserSettingsController.cpp 181SRCS+= Core/Value.cpp 182SRCS+= Core/ValueObject.cpp 183SRCS+= Core/ValueObjectCast.cpp 184SRCS+= Core/ValueObjectChild.cpp 185SRCS+= Core/ValueObjectConstResult.cpp 186SRCS+= Core/ValueObjectConstResultCast.cpp 187SRCS+= Core/ValueObjectConstResultChild.cpp 188SRCS+= Core/ValueObjectConstResultImpl.cpp 189SRCS+= Core/ValueObjectDynamicValue.cpp 190SRCS+= Core/ValueObjectList.cpp 191SRCS+= Core/ValueObjectMemory.cpp 192SRCS+= Core/ValueObjectRegister.cpp 193SRCS+= Core/ValueObjectSyntheticFilter.cpp 194SRCS+= Core/ValueObjectUpdater.cpp 195SRCS+= Core/ValueObjectVariable.cpp 196SRCS+= DataFormatters/CXXFunctionPointer.cpp 197SRCS+= DataFormatters/DataVisualization.cpp 198SRCS+= DataFormatters/DumpValueObjectOptions.cpp 199SRCS+= DataFormatters/FormatCache.cpp 200SRCS+= DataFormatters/FormatClasses.cpp 201SRCS+= DataFormatters/FormatManager.cpp 202SRCS+= DataFormatters/FormattersHelpers.cpp 203SRCS+= DataFormatters/LanguageCategory.cpp 204SRCS+= DataFormatters/StringPrinter.cpp 205SRCS+= DataFormatters/TypeCategory.cpp 206SRCS+= DataFormatters/TypeCategoryMap.cpp 207SRCS+= DataFormatters/TypeFormat.cpp 208SRCS+= DataFormatters/TypeSummary.cpp 209SRCS+= DataFormatters/TypeSynthetic.cpp 210SRCS+= DataFormatters/ValueObjectPrinter.cpp 211SRCS+= DataFormatters/VectorType.cpp 212SRCS+= Expression/DWARFExpression.cpp 213SRCS+= Expression/DiagnosticManager.cpp 214SRCS+= Expression/Expression.cpp 215SRCS+= Expression/ExpressionVariable.cpp 216SRCS+= Expression/FunctionCaller.cpp 217SRCS+= Expression/IRExecutionUnit.cpp 218SRCS+= Expression/IRInterpreter.cpp 219SRCS+= Expression/IRMemoryMap.cpp 220SRCS+= Expression/LLVMUserExpression.cpp 221SRCS+= Expression/Materializer.cpp 222SRCS+= Expression/REPL.cpp 223SRCS+= Expression/UserExpression.cpp 224SRCS+= Expression/UtilityFunction.cpp 225SRCS+= Host/common/Editline.cpp 226SRCS+= Host/common/File.cpp 227SRCS+= Host/common/FileAction.cpp 228SRCS+= Host/common/FileCache.cpp 229SRCS+= Host/common/FileSystem.cpp 230SRCS+= Host/common/Host.cpp 231SRCS+= Host/common/HostInfoBase.cpp 232SRCS+= Host/common/HostNativeThreadBase.cpp 233SRCS+= Host/common/HostProcess.cpp 234SRCS+= Host/common/HostThread.cpp 235SRCS+= Host/common/LZMA.cpp 236SRCS+= Host/common/LockFileBase.cpp 237SRCS+= Host/common/MainLoop.cpp 238SRCS+= Host/common/MonitoringProcessLauncher.cpp 239SRCS+= Host/common/NativeProcessProtocol.cpp 240SRCS+= Host/common/NativeRegisterContext.cpp 241SRCS+= Host/common/NativeThreadProtocol.cpp 242SRCS+= Host/common/NativeWatchpointList.cpp 243SRCS+= Host/common/OptionParser.cpp 244SRCS+= Host/common/PipeBase.cpp 245SRCS+= Host/common/ProcessLaunchInfo.cpp 246SRCS+= Host/common/ProcessRunLock.cpp 247SRCS+= Host/common/PseudoTerminal.cpp 248SRCS+= Host/common/Socket.cpp 249SRCS+= Host/common/SocketAddress.cpp 250SRCS+= Host/common/StringConvert.cpp 251SRCS+= Host/common/TCPSocket.cpp 252SRCS+= Host/common/Terminal.cpp 253SRCS+= Host/common/ThreadLauncher.cpp 254SRCS+= Host/common/UDPSocket.cpp 255SRCS+= Host/common/XML.cpp 256SRCS+= Host/freebsd/Host.cpp 257SRCS+= Host/freebsd/HostInfoFreeBSD.cpp 258SRCS+= Host/posix/ConnectionFileDescriptorPosix.cpp 259SRCS+= Host/posix/DomainSocket.cpp 260SRCS+= Host/posix/FileSystemPosix.cpp 261SRCS+= Host/posix/HostInfoPosix.cpp 262SRCS+= Host/posix/HostProcessPosix.cpp 263SRCS+= Host/posix/HostThreadPosix.cpp 264SRCS+= Host/posix/LockFilePosix.cpp 265SRCS+= Host/posix/PipePosix.cpp 266SRCS+= Host/posix/ProcessLauncherPosixFork.cpp 267SRCS+= Initialization/SystemInitializer.cpp 268SRCS+= Initialization/SystemInitializerCommon.cpp 269SRCS+= Initialization/SystemLifetimeManager.cpp 270SRCS+= Interpreter/CommandAlias.cpp 271SRCS+= Interpreter/CommandHistory.cpp 272SRCS+= Interpreter/CommandInterpreter.cpp 273SRCS+= Interpreter/CommandObject.cpp 274SRCS+= Interpreter/CommandOptionValidators.cpp 275SRCS+= Interpreter/CommandReturnObject.cpp 276SRCS+= Interpreter/OptionArgParser.cpp 277SRCS+= Interpreter/OptionGroupArchitecture.cpp 278SRCS+= Interpreter/OptionGroupBoolean.cpp 279SRCS+= Interpreter/OptionGroupFile.cpp 280SRCS+= Interpreter/OptionGroupFormat.cpp 281SRCS+= Interpreter/OptionGroupOutputFile.cpp 282SRCS+= Interpreter/OptionGroupPlatform.cpp 283SRCS+= Interpreter/OptionGroupPythonClassWithDict.cpp 284SRCS+= Interpreter/OptionGroupString.cpp 285SRCS+= Interpreter/OptionGroupUInt64.cpp 286SRCS+= Interpreter/OptionGroupUUID.cpp 287SRCS+= Interpreter/OptionGroupValueObjectDisplay.cpp 288SRCS+= Interpreter/OptionGroupVariable.cpp 289SRCS+= Interpreter/OptionGroupWatchpoint.cpp 290SRCS+= Interpreter/OptionValue.cpp 291SRCS+= Interpreter/OptionValueArch.cpp 292SRCS+= Interpreter/OptionValueArgs.cpp 293SRCS+= Interpreter/OptionValueArray.cpp 294SRCS+= Interpreter/OptionValueBoolean.cpp 295SRCS+= Interpreter/OptionValueChar.cpp 296SRCS+= Interpreter/OptionValueDictionary.cpp 297SRCS+= Interpreter/OptionValueEnumeration.cpp 298SRCS+= Interpreter/OptionValueFileColonLine.cpp 299SRCS+= Interpreter/OptionValueFileSpec.cpp 300SRCS+= Interpreter/OptionValueFileSpecList.cpp 301SRCS+= Interpreter/OptionValueFormat.cpp 302SRCS+= Interpreter/OptionValueFormatEntity.cpp 303SRCS+= Interpreter/OptionValueLanguage.cpp 304SRCS+= Interpreter/OptionValuePathMappings.cpp 305SRCS+= Interpreter/OptionValueProperties.cpp 306SRCS+= Interpreter/OptionValueRegex.cpp 307SRCS+= Interpreter/OptionValueSInt64.cpp 308SRCS+= Interpreter/OptionValueString.cpp 309SRCS+= Interpreter/OptionValueUInt64.cpp 310SRCS+= Interpreter/OptionValueUUID.cpp 311SRCS+= Interpreter/Options.cpp 312SRCS+= Interpreter/Property.cpp 313SRCS+= Interpreter/ScriptInterpreter.cpp 314SRCS+= LLDBWrapLua.cpp 315SRCS+= Plugins/ABI/AArch64/ABIAArch64.cpp 316SRCS+= Plugins/ABI/AArch64/ABISysV_arm64.cpp 317SRCS+= Plugins/ABI/ARM/ABIARM.cpp 318SRCS+= Plugins/ABI/ARM/ABISysV_arm.cpp 319SRCS+= Plugins/ABI/Mips/ABIMips.cpp 320SRCS+= Plugins/ABI/Mips/ABISysV_mips.cpp 321SRCS+= Plugins/ABI/Mips/ABISysV_mips64.cpp 322SRCS+= Plugins/ABI/PowerPC/ABIPowerPC.cpp 323SRCS+= Plugins/ABI/PowerPC/ABISysV_ppc.cpp 324SRCS+= Plugins/ABI/PowerPC/ABISysV_ppc64.cpp 325SRCS+= Plugins/ABI/X86/ABISysV_i386.cpp 326SRCS+= Plugins/ABI/X86/ABISysV_x86_64.cpp 327SRCS+= Plugins/ABI/X86/ABIX86.cpp 328SRCS+= Plugins/Architecture/AArch64/ArchitectureAArch64.cpp 329SRCS+= Plugins/Architecture/Arm/ArchitectureArm.cpp 330SRCS+= Plugins/Architecture/Mips/ArchitectureMips.cpp 331SRCS+= Plugins/Architecture/PPC64/ArchitecturePPC64.cpp 332SRCS+= Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp 333SRCS+= Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp 334SRCS+= Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp 335SRCS+= Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp 336SRCS+= Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp 337SRCS+= Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp 338SRCS+= Plugins/ExpressionParser/Clang/ASTUtils.cpp 339SRCS+= Plugins/ExpressionParser/Clang/ClangASTImporter.cpp 340SRCS+= Plugins/ExpressionParser/Clang/ClangASTMetadata.cpp 341SRCS+= Plugins/ExpressionParser/Clang/ClangASTSource.cpp 342SRCS+= Plugins/ExpressionParser/Clang/ClangDeclVendor.cpp 343SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp 344SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp 345SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp 346SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionVariable.cpp 347SRCS+= Plugins/ExpressionParser/Clang/ClangExternalASTSourceCallbacks.cpp 348SRCS+= Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp 349SRCS+= Plugins/ExpressionParser/Clang/ClangHost.cpp 350SRCS+= Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp 351SRCS+= Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp 352SRCS+= Plugins/ExpressionParser/Clang/ClangUserExpression.cpp 353SRCS+= Plugins/ExpressionParser/Clang/ClangUtil.cpp 354SRCS+= Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp 355SRCS+= Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp 356SRCS+= Plugins/ExpressionParser/Clang/CxxModuleHandler.cpp 357SRCS+= Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp 358SRCS+= Plugins/ExpressionParser/Clang/IRForTarget.cpp 359SRCS+= Plugins/ExpressionParser/Clang/NameSearchContext.cpp 360SRCS+= Plugins/Instruction/ARM/EmulateInstructionARM.cpp 361SRCS+= Plugins/Instruction/ARM/EmulationStateARM.cpp 362SRCS+= Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp 363SRCS+= Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp 364SRCS+= Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp 365SRCS+= Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp 366SRCS+= Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.cpp 367SRCS+= Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.cpp 368SRCS+= Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp 369SRCS+= Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp 370SRCS+= Plugins/JITLoader/GDB/JITLoaderGDB.cpp 371SRCS+= Plugins/Language/CPlusPlus/BlockPointer.cpp 372SRCS+= Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp 373SRCS+= Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp 374SRCS+= Plugins/Language/CPlusPlus/CxxStringTypes.cpp 375SRCS+= Plugins/Language/CPlusPlus/LibCxx.cpp 376SRCS+= Plugins/Language/CPlusPlus/LibCxxAtomic.cpp 377SRCS+= Plugins/Language/CPlusPlus/LibCxxBitset.cpp 378SRCS+= Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp 379SRCS+= Plugins/Language/CPlusPlus/LibCxxList.cpp 380SRCS+= Plugins/Language/CPlusPlus/LibCxxMap.cpp 381SRCS+= Plugins/Language/CPlusPlus/LibCxxOptional.cpp 382SRCS+= Plugins/Language/CPlusPlus/LibCxxQueue.cpp 383SRCS+= Plugins/Language/CPlusPlus/LibCxxTuple.cpp 384SRCS+= Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp 385SRCS+= Plugins/Language/CPlusPlus/LibCxxVariant.cpp 386SRCS+= Plugins/Language/CPlusPlus/LibCxxVector.cpp 387SRCS+= Plugins/Language/CPlusPlus/LibStdcpp.cpp 388SRCS+= Plugins/Language/CPlusPlus/LibStdcppTuple.cpp 389SRCS+= Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp 390SRCS+= Plugins/Language/CPlusPlus/MSVCUndecoratedNameParser.cpp 391SRCS+= Plugins/Language/ClangCommon/ClangHighlighter.cpp 392SRCS+= Plugins/Language/ObjC/CF.cpp 393SRCS+= Plugins/Language/ObjC/CFBasicHash.cpp 394SRCS+= Plugins/Language/ObjC/Cocoa.cpp 395SRCS+= Plugins/Language/ObjC/CoreMedia.cpp 396SRCS+= Plugins/Language/ObjC/NSArray.cpp 397SRCS+= Plugins/Language/ObjC/NSDictionary.cpp 398SRCS+= Plugins/Language/ObjC/NSError.cpp 399SRCS+= Plugins/Language/ObjC/NSException.cpp 400SRCS+= Plugins/Language/ObjC/NSIndexPath.cpp 401SRCS+= Plugins/Language/ObjC/NSSet.cpp 402SRCS+= Plugins/Language/ObjC/NSString.cpp 403SRCS+= Plugins/Language/ObjC/ObjCLanguage.cpp 404SRCS+= Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp 405SRCS+= Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp 406SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp 407SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp 408SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp 409SRCS+= Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp 410SRCS+= Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp 411SRCS+= Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp 412SRCS+= Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp 413SRCS+= Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp 414SRCS+= Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp 415SRCS+= Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp 416SRCS+= Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp 417SRCS+= Plugins/ObjectFile/ELF/ELFHeader.cpp 418SRCS+= Plugins/ObjectFile/ELF/ObjectFileELF.cpp 419SRCS+= Plugins/ObjectFile/JIT/ObjectFileJIT.cpp 420SRCS+= Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp 421SRCS+= Plugins/Platform/POSIX/PlatformPOSIX.cpp 422SRCS+= Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp 423SRCS+= Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp 424SRCS+= Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.cpp 425SRCS+= Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm.cpp 426SRCS+= Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.cpp 427SRCS+= Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.cpp 428SRCS+= Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_powerpc.cpp 429SRCS+= Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.cpp 430SRCS+= Plugins/Process/FreeBSD/NativeThreadFreeBSD.cpp 431SRCS+= Plugins/Process/POSIX/CrashReason.cpp 432SRCS+= Plugins/Process/POSIX/NativeProcessELF.cpp 433SRCS+= Plugins/Process/POSIX/ProcessMessage.cpp 434SRCS+= Plugins/Process/POSIX/ProcessPOSIXLog.cpp 435SRCS+= Plugins/Process/Utility/AuxVector.cpp 436SRCS+= Plugins/Process/Utility/DynamicRegisterInfo.cpp 437SRCS+= Plugins/Process/Utility/FreeBSDSignals.cpp 438SRCS+= Plugins/Process/Utility/GDBRemoteSignals.cpp 439SRCS+= Plugins/Process/Utility/HistoryThread.cpp 440SRCS+= Plugins/Process/Utility/HistoryUnwind.cpp 441SRCS+= Plugins/Process/Utility/InferiorCallPOSIX.cpp 442SRCS+= Plugins/Process/Utility/LinuxSignals.cpp 443SRCS+= Plugins/Process/Utility/MipsLinuxSignals.cpp 444SRCS+= Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp 445SRCS+= Plugins/Process/Utility/NativeProcessSoftwareSingleStep.cpp 446SRCS+= Plugins/Process/Utility/NativeRegisterContextDBReg_arm64.cpp 447SRCS+= Plugins/Process/Utility/NativeRegisterContextDBReg_x86.cpp 448SRCS+= Plugins/Process/Utility/NativeRegisterContextRegisterInfo.cpp 449SRCS+= Plugins/Process/Utility/NetBSDSignals.cpp 450SRCS+= Plugins/Process/Utility/RegisterContextDarwin_i386.cpp 451SRCS+= Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp 452SRCS+= Plugins/Process/Utility/RegisterContextDummy.cpp 453SRCS+= Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp 454SRCS+= Plugins/Process/Utility/RegisterContextFreeBSD_mips64.cpp 455SRCS+= Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp 456SRCS+= Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp 457SRCS+= Plugins/Process/Utility/RegisterContextHistory.cpp 458SRCS+= Plugins/Process/Utility/RegisterContextLinux_i386.cpp 459SRCS+= Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp 460SRCS+= Plugins/Process/Utility/RegisterContextMemory.cpp 461SRCS+= Plugins/Process/Utility/RegisterContextNetBSD_i386.cpp 462SRCS+= Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp 463SRCS+= Plugins/Process/Utility/RegisterContextOpenBSD_i386.cpp 464SRCS+= Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp 465SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp 466SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp 467SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp 468SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_powerpc.cpp 469SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_ppc64le.cpp 470SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp 471SRCS+= Plugins/Process/Utility/RegisterContextThreadMemory.cpp 472SRCS+= Plugins/Process/Utility/RegisterContext_x86.cpp 473SRCS+= Plugins/Process/Utility/RegisterInfoPOSIX_arm.cpp 474SRCS+= Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp 475SRCS+= Plugins/Process/Utility/RegisterInfoPOSIX_ppc64le.cpp 476SRCS+= Plugins/Process/Utility/StopInfoMachException.cpp 477SRCS+= Plugins/Process/Utility/ThreadMemory.cpp 478SRCS+= Plugins/Process/elf-core/ProcessElfCore.cpp 479SRCS+= Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.cpp 480SRCS+= Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp 481SRCS+= Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp 482SRCS+= Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp 483SRCS+= Plugins/Process/elf-core/RegisterContextPOSIXCore_ppc64le.cpp 484SRCS+= Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp 485SRCS+= Plugins/Process/elf-core/RegisterUtilities.cpp 486SRCS+= Plugins/Process/elf-core/ThreadElfCore.cpp 487SRCS+= Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp 488SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp 489SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 490SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp 491SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp 492SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp 493SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp 494SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp 495SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp 496SRCS+= Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp 497SRCS+= Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 498SRCS+= Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp 499SRCS+= Plugins/Process/gdb-remote/ThreadGDBRemote.cpp 500SRCS+= Plugins/Process/scripted/ScriptedProcess.cpp 501SRCS+= Plugins/ScriptInterpreter/Lua/Lua.cpp 502SRCS+= Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp 503SRCS+= Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp 504SRCS+= Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp 505SRCS+= Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp 506SRCS+= Plugins/SymbolFile/DWARF/DIERef.cpp 507SRCS+= Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp 508SRCS+= Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.cpp 509SRCS+= Plugins/SymbolFile/DWARF/DWARFAttribute.cpp 510SRCS+= Plugins/SymbolFile/DWARF/DWARFBaseDIE.cpp 511SRCS+= Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp 512SRCS+= Plugins/SymbolFile/DWARF/DWARFContext.cpp 513SRCS+= Plugins/SymbolFile/DWARF/DWARFDIE.cpp 514SRCS+= Plugins/SymbolFile/DWARF/DWARFDataExtractor.cpp 515SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp 516SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.cpp 517SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp 518SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp 519SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp 520SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp 521SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp 522SRCS+= Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp 523SRCS+= Plugins/SymbolFile/DWARF/DWARFDefines.cpp 524SRCS+= Plugins/SymbolFile/DWARF/DWARFFormValue.cpp 525SRCS+= Plugins/SymbolFile/DWARF/DWARFIndex.cpp 526SRCS+= Plugins/SymbolFile/DWARF/DWARFTypeUnit.cpp 527SRCS+= Plugins/SymbolFile/DWARF/DWARFUnit.cpp 528SRCS+= Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp 529SRCS+= Plugins/SymbolFile/DWARF/HashedNameToDIE.cpp 530SRCS+= Plugins/SymbolFile/DWARF/LogChannelDWARF.cpp 531SRCS+= Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp 532SRCS+= Plugins/SymbolFile/DWARF/NameToDIE.cpp 533SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp 534SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp 535SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp 536SRCS+= Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp 537SRCS+= Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp 538SRCS+= Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp 539SRCS+= Plugins/TypeSystem/Clang/TypeSystemClang.cpp 540SRCS+= Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp 541SRCS+= Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp 542SRCS+= Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp 543SRCS+= Symbol/ArmUnwindInfo.cpp 544SRCS+= Symbol/Block.cpp 545SRCS+= Symbol/CompactUnwindInfo.cpp 546SRCS+= Symbol/CompileUnit.cpp 547SRCS+= Symbol/CompilerDecl.cpp 548SRCS+= Symbol/CompilerDeclContext.cpp 549SRCS+= Symbol/CompilerType.cpp 550SRCS+= Symbol/DWARFCallFrameInfo.cpp 551SRCS+= Symbol/DebugMacros.cpp 552SRCS+= Symbol/DeclVendor.cpp 553SRCS+= Symbol/FuncUnwinders.cpp 554SRCS+= Symbol/Function.cpp 555SRCS+= Symbol/LineEntry.cpp 556SRCS+= Symbol/LineTable.cpp 557SRCS+= Symbol/LocateSymbolFile.cpp 558SRCS+= Symbol/ObjectFile.cpp 559SRCS+= Symbol/PostfixExpression.cpp 560SRCS+= Symbol/Symbol.cpp 561SRCS+= Symbol/SymbolContext.cpp 562SRCS+= Symbol/SymbolFile.cpp 563SRCS+= Symbol/SymbolVendor.cpp 564SRCS+= Symbol/Symtab.cpp 565SRCS+= Symbol/Type.cpp 566SRCS+= Symbol/TypeList.cpp 567SRCS+= Symbol/TypeMap.cpp 568SRCS+= Symbol/TypeSystem.cpp 569SRCS+= Symbol/UnwindPlan.cpp 570SRCS+= Symbol/UnwindTable.cpp 571SRCS+= Symbol/Variable.cpp 572SRCS+= Symbol/VariableList.cpp 573SRCS+= Target/ABI.cpp 574SRCS+= Target/AssertFrameRecognizer.cpp 575SRCS+= Target/ExecutionContext.cpp 576SRCS+= Target/InstrumentationRuntime.cpp 577SRCS+= Target/InstrumentationRuntimeStopInfo.cpp 578SRCS+= Target/JITLoader.cpp 579SRCS+= Target/JITLoaderList.cpp 580SRCS+= Target/Language.cpp 581SRCS+= Target/LanguageRuntime.cpp 582SRCS+= Target/Memory.cpp 583SRCS+= Target/MemoryHistory.cpp 584SRCS+= Target/MemoryRegionInfo.cpp 585SRCS+= Target/ModuleCache.cpp 586SRCS+= Target/OperatingSystem.cpp 587SRCS+= Target/PathMappingList.cpp 588SRCS+= Target/Platform.cpp 589SRCS+= Target/Process.cpp 590SRCS+= Target/ProcessTrace.cpp 591SRCS+= Target/Queue.cpp 592SRCS+= Target/QueueItem.cpp 593SRCS+= Target/QueueList.cpp 594SRCS+= Target/RegisterContext.cpp 595SRCS+= Target/RegisterContextUnwind.cpp 596SRCS+= Target/RegisterNumber.cpp 597SRCS+= Target/RemoteAwarePlatform.cpp 598SRCS+= Target/SectionLoadHistory.cpp 599SRCS+= Target/SectionLoadList.cpp 600SRCS+= Target/StackFrame.cpp 601SRCS+= Target/StackFrameList.cpp 602SRCS+= Target/StackFrameRecognizer.cpp 603SRCS+= Target/StackID.cpp 604SRCS+= Target/StopInfo.cpp 605SRCS+= Target/SystemRuntime.cpp 606SRCS+= Target/Target.cpp 607SRCS+= Target/TargetList.cpp 608SRCS+= Target/Thread.cpp 609SRCS+= Target/ThreadCollection.cpp 610SRCS+= Target/ThreadList.cpp 611SRCS+= Target/ThreadPlan.cpp 612SRCS+= Target/ThreadPlanBase.cpp 613SRCS+= Target/ThreadPlanCallFunction.cpp 614SRCS+= Target/ThreadPlanCallFunctionUsingABI.cpp 615SRCS+= Target/ThreadPlanCallUserExpression.cpp 616SRCS+= Target/ThreadPlanPython.cpp 617SRCS+= Target/ThreadPlanRunToAddress.cpp 618SRCS+= Target/ThreadPlanShouldStopHere.cpp 619SRCS+= Target/ThreadPlanStack.cpp 620SRCS+= Target/ThreadPlanStepInRange.cpp 621SRCS+= Target/ThreadPlanStepInstruction.cpp 622SRCS+= Target/ThreadPlanStepOut.cpp 623SRCS+= Target/ThreadPlanStepOverBreakpoint.cpp 624SRCS+= Target/ThreadPlanStepOverRange.cpp 625SRCS+= Target/ThreadPlanStepRange.cpp 626SRCS+= Target/ThreadPlanStepThrough.cpp 627SRCS+= Target/ThreadPlanStepUntil.cpp 628SRCS+= Target/ThreadPlanTracer.cpp 629SRCS+= Target/ThreadSpec.cpp 630SRCS+= Target/Trace.cpp 631SRCS+= Target/TraceCursor.cpp 632SRCS+= Target/TraceInstructionDumper.cpp 633SRCS+= Target/UnixSignals.cpp 634SRCS+= Target/UnwindAssembly.cpp 635SRCS+= Target/UnwindLLDB.cpp 636SRCS+= Utility/ArchSpec.cpp 637SRCS+= Utility/Args.cpp 638SRCS+= Utility/Baton.cpp 639SRCS+= Utility/Broadcaster.cpp 640SRCS+= Utility/CompletionRequest.cpp 641SRCS+= Utility/Connection.cpp 642SRCS+= Utility/ConstString.cpp 643SRCS+= Utility/DataBufferHeap.cpp 644SRCS+= Utility/DataBufferLLVM.cpp 645SRCS+= Utility/DataEncoder.cpp 646SRCS+= Utility/DataExtractor.cpp 647SRCS+= Utility/Environment.cpp 648SRCS+= Utility/Event.cpp 649SRCS+= Utility/FileSpec.cpp 650SRCS+= Utility/GDBRemote.cpp 651SRCS+= Utility/IOObject.cpp 652SRCS+= Utility/LLDBAssert.cpp 653SRCS+= Utility/Listener.cpp 654SRCS+= Utility/Log.cpp 655SRCS+= Utility/Logging.cpp 656SRCS+= Utility/NameMatches.cpp 657SRCS+= Utility/ProcessInfo.cpp 658SRCS+= Utility/RegisterValue.cpp 659SRCS+= Utility/RegularExpression.cpp 660SRCS+= Utility/Reproducer.cpp 661SRCS+= Utility/ReproducerInstrumentation.cpp 662SRCS+= Utility/ReproducerProvider.cpp 663SRCS+= Utility/Scalar.cpp 664SRCS+= Utility/SelectHelper.cpp 665SRCS+= Utility/State.cpp 666SRCS+= Utility/Status.cpp 667SRCS+= Utility/Stream.cpp 668SRCS+= Utility/StreamCallback.cpp 669SRCS+= Utility/StreamString.cpp 670SRCS+= Utility/StringExtractor.cpp 671SRCS+= Utility/StringExtractorGDBRemote.cpp 672SRCS+= Utility/StringLexer.cpp 673SRCS+= Utility/StringList.cpp 674SRCS+= Utility/StructuredData.cpp 675SRCS+= Utility/TildeExpressionResolver.cpp 676SRCS+= Utility/TraceGDBRemotePackets.cpp 677SRCS+= Utility/Timer.cpp 678SRCS+= Utility/UUID.cpp 679SRCS+= Utility/UnimplementedError.cpp 680SRCS+= Utility/UriParser.cpp 681SRCS+= Utility/UserID.cpp 682SRCS+= Utility/UserIDResolver.cpp 683SRCS+= Utility/VASprintf.cpp 684SRCS+= Utility/VMRange.cpp 685SRCS+= lldb.cpp 686 687LLDB_TBLGEN?= lldb-tblgen 688 689CommandOptions.inc: ${LLDB_SRCS}/source/Commands/Options.td 690 ${LLDB_TBLGEN} -gen-lldb-option-defs \ 691 -I ${LLDB_SRCS}/source/Commands -d ${.TARGET:C/$/.d/} \ 692 -o ${.TARGET} ${LLDB_SRCS}/source/Commands/Options.td 693TGHDRS+= CommandOptions.inc 694 695.for path in \ 696 Core/Core \ 697 Interpreter/Interpreter \ 698 Plugins/JITLoader/GDB/JITLoaderGDB \ 699 Plugins/Process/gdb-remote/ProcessGDBRemote \ 700 Plugins/SymbolFile/DWARF/SymbolFileDWARF \ 701 Target/Target 702${path:T}Properties.inc: ${LLDB_SRCS}/source/${path}Properties.td 703 ${LLDB_TBLGEN} -gen-lldb-property-defs \ 704 -I ${LLDB_SRCS}/source/${path:H} -d ${.TARGET:C/$/.d/} \ 705 -o ${.TARGET} ${LLDB_SRCS}/source/${path}Properties.td 706TGHDRS+= ${path:T}Properties.inc 707 708${path:T}PropertiesEnum.inc: ${LLDB_SRCS}/source/${path}Properties.td 709 ${LLDB_TBLGEN} -gen-lldb-property-enum-defs \ 710 -I ${LLDB_SRCS}/source/${path:H} -d ${.TARGET:C/$/.d/} \ 711 -o ${.TARGET} ${LLDB_SRCS}/source/${path}Properties.td 712TGHDRS+= ${path:T}PropertiesEnum.inc 713.endfor 714 715DPSRCS+= ${TGHDRS} 716CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} 717 718.include "../clang.build.mk" 719 720INTERNALLIB= 721 722# Building lldb's bindings requires swig, but we do not want to include it in 723# the FreeBSD base system (as a build tool) because it has non-trivial 724# dependencies. As a workaround we commit the generated file. Requires the 725# swig package. 726# 727# After importing an updated llvm/lldb into FreeBSD run `make run-swig` in 728# this directory to generate generate LLDBWrapLua.cpp, and commit the result. 729.PHONY: run-swig 730run-swig: 731 swig -I${LLDB_SRCS}/include \ 732 -c++ -features autodoc -lua -w503 \ 733 -o ${.CURDIR}/LLDBWrapLua.cpp ${LLDB_SRCS}/bindings/lua.swig 734 735.include <bsd.lib.mk> 736