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