summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2019-02-06 01:14:50 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2019-02-06 01:14:50 +0000
commit443c034391a20ff0204a93aedf5759f95006a66c (patch)
tree1f58eb1bb791d8ae3ca7f754b2959dee979bebba /lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions
parentedd2e05851f87d531a8d2f405f1558061e0bab64 (diff)
downloadbcm5719-llvm-443c034391a20ff0204a93aedf5759f95006a66c.tar.gz
bcm5719-llvm-443c034391a20ff0204a93aedf5759f95006a66c.zip
[sanitizer] Decorate /proc/self/maps better.
Summary: Refactor the way /proc/self/maps entries are annotated to support most (all?) posix platforms, with a special implementation for Android. Extend the set of decorated Mmap* calls. Replace shm_open with internal_open("/dev/shm/%s"). Shm_open is problematic because it calls libc open() which may be intercepted. Generic implementation has limits (max number of files under /dev/shm is 64K on my machine), which can be conceivably reached when sanitizing multiple programs at once. Android implemenation is essentially free, and enabled by default. The test in sanitizer_common is copied to hwasan and not reused directly because hwasan fails way too many common tests at the moment. Reviewers: pcc, vitalybuka Subscribers: srhines, kubamracek, jfb, llvm-commits, kcc Differential Revision: https://reviews.llvm.org/D57720 llvm-svn: 353255
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud