[PATCH] D71461: [LSAN] Increase stack space for guard-page.c test

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 13:46:46 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rG9cb7a1be2a43: [LSAN] Increase stack space for guard-page.c test (authored by Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71461/new/

https://reviews.llvm.org/D71461

Files:
  compiler-rt/test/lsan/TestCases/Linux/guard-page.c


Index: compiler-rt/test/lsan/TestCases/Linux/guard-page.c
===================================================================
--- compiler-rt/test/lsan/TestCases/Linux/guard-page.c
+++ 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);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71461.233873.patch
Type: text/x-patch
Size: 596 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191213/7dc3d6e6/attachment.bin>


More information about the llvm-commits mailing list