llvm-project/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelProperties.td
Jordan Rupprecht 6a253d378b [lldb] Qualify includes of Properties[Enum].inc files. NFC
Summary:
This is a bit more explicit, and makes it possible to build LLDB without
varying the -I lines per-directory.
(The latter is useful because many build systems only allow this to be
configured per-library, and LLDB is insufficiently layered to be split into
multiple libraries on stricter build systems).

(My comment on D65185 has some more context)

Reviewers: JDevlieghere, labath, chandlerc, jdoerfert

Reviewed By: labath

Subscribers: mgorny, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D65397

Patch by Sam McCall!

llvm-svn: 367241
2019-07-29 17:22:10 +00:00

14 lines
533 B
TableGen

include "../../../../include/lldb/Core/PropertiesBase.td"
let Definition = "dynamicloaderdarwinkernel" in {
def LoadKexts: Property<"load-kexts", "Boolean">,
Global,
DefaultTrue,
Desc<"Automatically loads kext images when attaching to a kernel.">;
def ScanType: Property<"scan-type", "Enum">,
Global,
DefaultEnumValue<"eKASLRScanNearPC">,
EnumValues<"OptionEnumValues(g_kaslr_kernel_scan_enum_values)">,
Desc<"Control how many reads lldb will make while searching for a Darwin kernel on attach.">;
}