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