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