| 1 |
import("//lldb/utils/TableGen/lldb_tablegen.gni") |
| 2 |
|
| 3 |
lldb_tablegen("TargetProperties") { |
| 4 |
args = [ "-gen-lldb-property-defs" ] |
| 5 |
} |
| 6 |
|
| 7 |
lldb_tablegen("TargetPropertiesEnum") { |
| 8 |
args = [ "-gen-lldb-property-enum-defs" ] |
| 9 |
td_file = "TargetProperties.td" |
| 10 |
} |
| 11 |
|
| 12 |
static_library("Target") { |
| 13 |
output_name = "lldbTarget" |
| 14 |
configs += [ |
| 15 |
"//llvm/utils/gn/build:clang_code", |
| 16 |
"//llvm/utils/gn/build:lldb_code", |
| 17 |
] |
| 18 |
deps = [ |
| 19 |
":TargetProperties", |
| 20 |
":TargetPropertiesEnum", |
| 21 |
|
| 22 |
#"//lldb/source/Breakpoint", # FIXME: Dependency cycle |
| 23 |
"//lldb/source/Core", |
| 24 |
"//lldb/source/Core", |
| 25 |
"//lldb/source/Expression", |
| 26 |
"//lldb/source/Host", |
| 27 |
"//lldb/source/Interpreter", |
| 28 |
"//lldb/source/Plugins/Process/Utility", |
| 29 |
"//lldb/source/Symbol", |
| 30 |
"//lldb/source/Utility", |
| 31 |
"//lldb/source/ValueObject", |
| 32 |
"//llvm/lib/MC", |
| 33 |
"//llvm/lib/Support", |
| 34 |
] |
| 35 |
include_dirs = [ ".." ] # FIXME: Reaches into Plugins internals. |
| 36 |
sources = [ |
| 37 |
"ABI.cpp", |
| 38 |
"AssertFrameRecognizer.cpp", |
| 39 |
"CoreFileMemoryRanges.cpp", |
| 40 |
"DynamicRegisterInfo.cpp", |
| 41 |
"ExecutionContext.cpp", |
| 42 |
"InstrumentationRuntime.cpp", |
| 43 |
"InstrumentationRuntimeStopInfo.cpp", |
| 44 |
"JITLoader.cpp", |
| 45 |
"JITLoaderList.cpp", |
| 46 |
"Language.cpp", |
| 47 |
"LanguageRuntime.cpp", |
| 48 |
"Memory.cpp", |
| 49 |
"MemoryHistory.cpp", |
| 50 |
"MemoryRegionInfo.cpp", |
| 51 |
"MemoryTagMap.cpp", |
| 52 |
"ModuleCache.cpp", |
| 53 |
"OperatingSystem.cpp", |
| 54 |
"PathMappingList.cpp", |
| 55 |
"Platform.cpp", |
| 56 |
"Process.cpp", |
| 57 |
"ProcessTrace.cpp", |
| 58 |
"Queue.cpp", |
| 59 |
"QueueItem.cpp", |
| 60 |
"QueueList.cpp", |
| 61 |
"RegisterContext.cpp", |
| 62 |
"RegisterContextUnwind.cpp", |
| 63 |
"RegisterFlags.cpp", |
| 64 |
"RegisterNumber.cpp", |
| 65 |
"RemoteAwarePlatform.cpp", |
| 66 |
"ScriptedThreadPlan.cpp", |
| 67 |
"SectionLoadHistory.cpp", |
| 68 |
"SectionLoadList.cpp", |
| 69 |
"StackFrame.cpp", |
| 70 |
"StackFrameList.cpp", |
| 71 |
"StackFrameRecognizer.cpp", |
| 72 |
"StackID.cpp", |
| 73 |
"Statistics.cpp", |
| 74 |
"StopInfo.cpp", |
| 75 |
"StructuredDataPlugin.cpp", |
| 76 |
"SystemRuntime.cpp", |
| 77 |
"Target.cpp", |
| 78 |
"TargetList.cpp", |
| 79 |
"Thread.cpp", |
| 80 |
"ThreadCollection.cpp", |
| 81 |
"ThreadList.cpp", |
| 82 |
"ThreadPlan.cpp", |
| 83 |
"ThreadPlanBase.cpp", |
| 84 |
"ThreadPlanCallFunction.cpp", |
| 85 |
"ThreadPlanCallFunctionUsingABI.cpp", |
| 86 |
"ThreadPlanCallOnFunctionExit.cpp", |
| 87 |
"ThreadPlanCallUserExpression.cpp", |
| 88 |
"ThreadPlanRunToAddress.cpp", |
| 89 |
"ThreadPlanShouldStopHere.cpp", |
| 90 |
"ThreadPlanSingleThreadTimeout.cpp", |
| 91 |
"ThreadPlanStack.cpp", |
| 92 |
"ThreadPlanStepInRange.cpp", |
| 93 |
"ThreadPlanStepInstruction.cpp", |
| 94 |
"ThreadPlanStepOut.cpp", |
| 95 |
"ThreadPlanStepOverBreakpoint.cpp", |
| 96 |
"ThreadPlanStepOverRange.cpp", |
| 97 |
"ThreadPlanStepRange.cpp", |
| 98 |
"ThreadPlanStepThrough.cpp", |
| 99 |
"ThreadPlanStepUntil.cpp", |
| 100 |
"ThreadPlanTracer.cpp", |
| 101 |
"ThreadSpec.cpp", |
| 102 |
"Trace.cpp", |
| 103 |
"TraceCursor.cpp", |
| 104 |
"TraceDumper.cpp", |
| 105 |
"TraceExporter.cpp", |
| 106 |
"UnixSignals.cpp", |
| 107 |
"UnwindAssembly.cpp", |
| 108 |
"UnwindLLDB.cpp", |
| 109 |
"VerboseTrapFrameRecognizer.cpp", |
| 110 |
] |
| 111 |
} |