diff --git a/compiler-rt/test/lsan/TestCases/Linux/guard-page.c b/compiler-rt/test/lsan/TestCases/Linux/guard-page.c --- a/compiler-rt/test/lsan/TestCases/Linux/guard-page.c +++ b/compiler-rt/test/lsan/TestCases/Linux/guard-page.c @@ -36,11 +36,11 @@ if (getcontext(&ctx) < 0) die("getcontext", 0); - stack = malloc(1 << 11); + stack = malloc(1 << 12); if (stack == NULL) die("malloc", 0); ctx.uc_stack.ss_sp = stack; - ctx.uc_stack.ss_size = 1 << 11; + ctx.uc_stack.ss_size = 1 << 12; makecontext(&ctx, ctxfunc, 0); setcontext(&ctx); die("setcontext", 0);