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