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