diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2019-10-18 22:51:38 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2019-10-18 22:51:38 +0000 |
commit | 4aae16c11694f3d5aa65a5b7c05d2f6598f147ef (patch) | |
tree | 5f51c53ea308c470841fdc888f12bbb89b1e46a2 /lib | |
parent | 2d6eaa654777895937c52efb727a0a4cb753fe5b (diff) | |
download | compiler-rt-4aae16c11694f3d5aa65a5b7c05d2f6598f147ef.tar.gz |
hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on __hwasan_personality_wrapper.
Differential Revision: https://reviews.llvm.org/D69201
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@375298 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hwasan/hwasan_exceptions.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/hwasan/hwasan_exceptions.cpp b/lib/hwasan/hwasan_exceptions.cpp index 57a143806..169e7876c 100644 --- a/lib/hwasan/hwasan_exceptions.cpp +++ b/lib/hwasan/hwasan_exceptions.cpp @@ -32,10 +32,13 @@ typedef _Unwind_Reason_Code PersonalityFn(int version, _Unwind_Action actions, typedef _Unwind_Word GetGRFn(_Unwind_Context* context, int index); typedef _Unwind_Word GetCFAFn(_Unwind_Context* context); -extern "C" _Unwind_Reason_Code __hwasan_personality_wrapper( - int version, _Unwind_Action actions, uint64_t exception_class, - _Unwind_Exception* unwind_exception, _Unwind_Context* context, - PersonalityFn* real_personality, GetGRFn* get_gr, GetCFAFn* get_cfa) { +extern "C" SANITIZER_INTERFACE_ATTRIBUTE _Unwind_Reason_Code +__hwasan_personality_wrapper(int version, _Unwind_Action actions, + uint64_t exception_class, + _Unwind_Exception* unwind_exception, + _Unwind_Context* context, + PersonalityFn* real_personality, GetGRFn* get_gr, + GetCFAFn* get_cfa) { _Unwind_Reason_Code rc; if (real_personality) rc = real_personality(version, actions, exception_class, unwind_exception, |