summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/EHScopeStack.h
diff options
context:
space:
mode:
authorDerek Bruening <bruening@google.com>2016-05-28 00:25:16 +0000
committerDerek Bruening <bruening@google.com>2016-05-28 00:25:16 +0000
commit909d32955b0b5e5aee623d25bbcb1ea9bff3022f (patch)
tree0b5d1040c8b8c48daecc1928baa57423f9f0cb88 /clang/lib/CodeGen/EHScopeStack.h
parent7401516985bcffeb67db966028d4279058c5b05d (diff)
downloadbcm5719-llvm-909d32955b0b5e5aee623d25bbcb1ea9bff3022f.tar.gz
bcm5719-llvm-909d32955b0b5e5aee623d25bbcb1ea9bff3022f.zip
[esan] Add handling of large stack size rlimits
Summary: Adds detection of large stack size rlimits (over 1 TB or unlimited), which results in an mmap location that our shadow mapping does not support. We re-exec the application in this situation. Adds a test of this behavior. Adds general detection of mmap regions outside of our app regions. In the future we want to try to adaptively handle these but for now we abort. Moves the existing Linux-specific mmap code into a platform-specific file where the new rlimit code lives. Reviewers: eugenis Subscribers: vitalybuka, zhaoqin, kcc, aizatsky, llvm-commits, kubabrecka Differential Revision: http://reviews.llvm.org/D20745 llvm-svn: 271079
Diffstat (limited to 'clang/lib/CodeGen/EHScopeStack.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud