hanchenye-llvm-project/compiler-rt
Jay Foad a566693334 [asan] Bump the self-imposed stack limit from 128k to 256k. PowerPC64
Linux has 64k pages, so the old limit was only two pages. With ASLR the
initial sp might be right at the start of the second page, so the stack
will immediately grow down into the first page; and if you use all pages
of a limited stack then asan hits a kernel bug to do with how stack
guard pages are reported in /proc/self/maps:
http://lkml.iu.edu//hypermail/linux/kernel/1501.0/01025.html

We should still fix the underlying problems, but in the mean time this
patch makes the test work with 64k pages as well as it does with 4k
pages.

llvm-svn: 225261
2015-01-06 10:01:15 +00:00
..
SDKs Build Darwin libclang_rt libraries against real SDKs. 2014-11-10 19:38:15 +00:00
cmake Avoid building compiler-rt with LTO. 2014-12-31 18:20:52 +00:00
include [asan] introduce __sanitizer_set_death_callback, deprecate __asan_set_death_callback 2014-12-15 23:02:57 +00:00
lib [Sanitizer] Use COMMON_FLAG macro to describe common runtime flags. 2015-01-06 02:44:05 +00:00
make Add 64-bit multiply functions to iOS arm64 compiler-rt dylib 2015-01-06 00:27:21 +00:00
test [asan] Bump the self-imposed stack limit from 128k to 256k. PowerPC64 2015-01-06 10:01:15 +00:00
unittests Use the newer python syntax for exceptions 2014-12-13 02:46:56 +00:00
www
.arcconfig
.gitignore
CMakeLists.txt Remove TSAN_DEBUG in favor of SANITIZER_DEBUG. 2015-01-03 04:29:12 +00:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
Makefile
README.txt

README.txt

Compiler-RT
================================

This directory and its subdirectories contain source code for the compiler
support routines.

Compiler-RT is open source software. You may freely distribute it under the
terms of the license agreement found in LICENSE.txt.

================================