should not receive as exceptions (some will get converted to BSD signals instead). This is really the only stable way to ensure that a Mach exception gets converted to it's equivalent BSD signal. For programs that rely on BSD signal handlers, this has to happen or you can't even get the program to invoke the signal handler when under the debugger. This builds on a previous solution to this problem which required you start debugserver with the -U flag. This was not very discoverable and required lldb be the one to launch debugserver, which is not always the case. Differential Revision: https://reviews.llvm.org/D125434
17 lines
670 B
TableGen
17 lines
670 B
TableGen
include "../../../../include/lldb/Core/PropertiesBase.td"
|
|
|
|
let Definition = "platformdarwinkernel" in {
|
|
def KextDirectories: Property<"kext-directories", "FileSpecList">,
|
|
DefaultStringValue<"">,
|
|
Desc<"Directories/KDKs to search for kexts in when starting a kernel debug session.">;
|
|
}
|
|
|
|
let Definition = "platformdarwin" in {
|
|
def IgnoredExceptions: Property<"ignored-exceptions", "String">,
|
|
DefaultStringValue<"">,
|
|
Desc<"List the mach exceptions to ignore, separated by '|' "
|
|
"(e.g. 'EXC_BAD_ACCESS|EXC_BAD_INSTRUCTION'). "
|
|
"lldb will instead stop on the BSD signal the exception was converted "
|
|
"into, if there is one.">;
|
|
}
|