OSDN Git Service

HWASan exception support.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 16 May 2019 23:54:41 +0000 (23:54 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 16 May 2019 23:54:41 +0000 (23:54 +0000)
commitf94a258fe82a464722d6e7b62651b26f645177af
tree883c27e7084c5f538384ef1cc90bceceb8221ac0
parente3c69b2f5066d766bb5cc447549a0022998b43f6
HWASan exception support.

Summary:
Adds a call to __hwasan_handle_vfork(SP) at each landingpad entry.

Reusing __hwasan_handle_vfork instead of introducing a new runtime call
in order to be ABI-compatible with old runtime library.

Reviewers: pcc

Subscribers: kubamracek, hiraditya, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D61968

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360959 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
test/Instrumentation/HWAddressSanitizer/landingpad.ll [new file with mode: 0644]