summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorDerek Bruening <bruening@google.com>2016-06-13 21:50:00 +0000
committerDerek Bruening <bruening@google.com>2016-06-13 21:50:00 +0000
commitc4c649e25a73d6f94eb33f1b7a51a28ed5e8bdc8 (patch)
tree93f9cb428a543563a395d6f798d24cb7841c178b /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parente1890e12f056622bb8c206e8b1c0e19cbb5ae7e6 (diff)
downloadbcm5719-llvm-c4c649e25a73d6f94eb33f1b7a51a28ed5e8bdc8.tar.gz
bcm5719-llvm-c4c649e25a73d6f94eb33f1b7a51a28ed5e8bdc8.zip
[sanitizer][esan] Add internal_sigaction_syscall
Summary: Adds a version of sigaction that uses a raw system call, to avoid circular dependencies and support calling sigaction prior to setting up interceptors. The new sigaction relies on an assembly sigreturn routine for its restorer, which is Linux x86_64-only for now. Uses the new sigaction to initialize the working set tool's shadow fault handler prior to libc interceptor being set up. This is required to support instrumentation invoked during interceptor setup, which happens with an instrumented tcmalloc or other allocator compiled with esan. Adds a test that emulates an instrumented allocator. Reviewers: aizatsky Subscribers: vitalybuka, tberghammer, zhaoqin, danalbert, kcc, srhines, eugenis, llvm-commits, kubabrecka Differential Revision: http://reviews.llvm.org/D21083 llvm-svn: 272591
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud