mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-13 16:58:04 +08:00
[tests] MINSIGSTKSZ is no longer a constant, update tests
glibc 2.34 makes MINSIGSTKSZ a runtime value, as noted in the changelog: https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=85e84fe53699fe9e392edffa993612ce08b2954a;hb=HEAD. This prevents tests from building on these systems, remove constexpr to fix it. Change-Id: I83b19aa7c075f0d9b02875aef8985fac6fce18a5 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/4020320 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Benoit Lize <lizeb@chromium.org>
This commit is contained in:
parent
58c68181ea
commit
9ca1fb932e
@ -268,7 +268,7 @@ class ScopedAltSignalStack {
|
||||
|
||||
void Initialize() {
|
||||
ScopedMmap local_stack_mem;
|
||||
constexpr size_t stack_size = MINSIGSTKSZ;
|
||||
const size_t stack_size = MINSIGSTKSZ;
|
||||
ASSERT_TRUE(local_stack_mem.ResetMmap(nullptr,
|
||||
stack_size,
|
||||
PROT_READ | PROT_WRITE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user