
Increase the default timeouts when running under ASan. We had something similar before we adopted tablegen, but the larger timeouts got lost in the transition, possibly because tablegen's preprocessor support is very limited. This patch passes a new define (LLDB_SANITIZED) to lldb-tablegen on which we can base the default value. Differential revision: https://reviews.llvm.org/D156279
25 lines
971 B
TableGen
25 lines
971 B
TableGen
include "../../../../include/lldb/Core/PropertiesBase.td"
|
|
|
|
let Definition = "processgdbremote" in {
|
|
def PacketTimeout: Property<"packet-timeout", "UInt64">,
|
|
Global,
|
|
#ifdef LLDB_SANITIZED
|
|
DefaultUnsignedValue<60>,
|
|
#else
|
|
DefaultUnsignedValue<5>,
|
|
#endif
|
|
Desc<"Specify the default packet timeout in seconds.">;
|
|
def TargetDefinitionFile: Property<"target-definition-file", "FileSpec">,
|
|
Global,
|
|
DefaultStringValue<"">,
|
|
Desc<"The file that provides the description for remote target registers.">;
|
|
def UseSVR4: Property<"use-libraries-svr4", "Boolean">,
|
|
Global,
|
|
DefaultTrue,
|
|
Desc<"If true, the libraries-svr4 feature will be used to get a hold of the process's loaded modules. This setting is only effective if lldb was build with xml support.">;
|
|
def UseGPacketForReading: Property<"use-g-packet-for-reading", "Boolean">,
|
|
Global,
|
|
DefaultFalse,
|
|
Desc<"Specify if the server should use 'g' packets to read registers.">;
|
|
}
|