mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-10 06:36:02 +00:00
Disable ProcessReaderLinux.ChildWithSplitStack under ASan
Change-Id: Ibaee389e64d6e54133a4fb7f4d05cfde0a529821 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1684673 Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
1644b7724d
commit
0f2e2064a1
@ -469,7 +469,14 @@ class ChildWithSplitStackTest : public Multiprocess {
|
|||||||
DISALLOW_COPY_AND_ASSIGN(ChildWithSplitStackTest);
|
DISALLOW_COPY_AND_ASSIGN(ChildWithSplitStackTest);
|
||||||
};
|
};
|
||||||
|
|
||||||
TEST(ProcessReaderLinux, ChildWithSplitStack) {
|
// AddressSanitizer with use-after-return detection causes stack variables to
|
||||||
|
// be allocated on the heap.
|
||||||
|
#if defined(ADDRESS_SANITIZER)
|
||||||
|
#define MAYBE_ChildWithSplitStack DISABLED_ChildWithSplitStack
|
||||||
|
#else
|
||||||
|
#define MAYBE_ChildWithSplitStack ChildWithSplitStack
|
||||||
|
#endif
|
||||||
|
TEST(ProcessReaderLinux, MAYBE_ChildWithSplitStack) {
|
||||||
ChildWithSplitStackTest test;
|
ChildWithSplitStackTest test;
|
||||||
test.Run();
|
test.Run();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user