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