aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2015-01-06 10:01:15 +0000
committerJay Foad <jay.foad@gmail.com>2015-01-06 10:01:15 +0000
commita566693334d9d0df5927ec5f87a328d17e81415f (patch)
tree516267660d3a6c10e6292c429e5d01a76c25600d /llvm/lib/Object/MachOObjectFile.cpp
parent2f3e3dd70ad5a02576b98dca83cb4a2096205cd4 (diff)
downloadllvm-a566693334d9d0df5927ec5f87a328d17e81415f.zip
llvm-a566693334d9d0df5927ec5f87a328d17e81415f.tar.gz
llvm-a566693334d9d0df5927ec5f87a328d17e81415f.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions