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