mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
[hwasan] Fix test failure in r369721.
Try harder to emulate "old runtime" in the test. To get the old behavior with the new runtime library, we need both disable personality function wrapping and enable landing pad instrumentation. llvm-svn: 369977
This commit is contained in:
parent
3d87145b48
commit
0d8668b9ee
@ -164,11 +164,12 @@ static cl::opt<bool>
|
|||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
ClInstrumentLandingPads("hwasan-instrument-landing-pads",
|
ClInstrumentLandingPads("hwasan-instrument-landing-pads",
|
||||||
cl::desc("instrument landing pads"), cl::Hidden,
|
cl::desc("instrument landing pads"), cl::Hidden,
|
||||||
cl::init(false));
|
cl::init(false), cl::ZeroOrMore);
|
||||||
|
|
||||||
static cl::opt<bool> ClInstrumentPersonalityFunctions(
|
static cl::opt<bool> ClInstrumentPersonalityFunctions(
|
||||||
"hwasan-instrument-personality-functions",
|
"hwasan-instrument-personality-functions",
|
||||||
cl::desc("instrument personality functions"), cl::Hidden, cl::init(false));
|
cl::desc("instrument personality functions"), cl::Hidden, cl::init(false),
|
||||||
|
cl::ZeroOrMore);
|
||||||
|
|
||||||
static cl::opt<bool> ClInlineAllChecks("hwasan-inline-all-checks",
|
static cl::opt<bool> ClInlineAllChecks("hwasan-inline-all-checks",
|
||||||
cl::desc("inline all checks"),
|
cl::desc("inline all checks"),
|
||||||
|
Loading…
Reference in New Issue
Block a user