[compiler-rt] r375298 - hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on __hwasan_personality_wrapper.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 15:51:38 PDT 2019
Author: pcc
Date: Fri Oct 18 15:51:38 2019
New Revision: 375298
URL: http://llvm.org/viewvc/llvm-project?rev=375298&view=rev
Log:
hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on __hwasan_personality_wrapper.
Differential Revision: https://reviews.llvm.org/D69201
Modified:
compiler-rt/trunk/lib/hwasan/hwasan_exceptions.cpp
Modified: compiler-rt/trunk/lib/hwasan/hwasan_exceptions.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/hwasan/hwasan_exceptions.cpp?rev=375298&r1=375297&r2=375298&view=diff
==============================================================================
--- compiler-rt/trunk/lib/hwasan/hwasan_exceptions.cpp (original)
+++ compiler-rt/trunk/lib/hwasan/hwasan_exceptions.cpp Fri Oct 18 15:51:38 2019
@@ -32,10 +32,13 @@ typedef _Unwind_Reason_Code PersonalityF
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,
More information about the llvm-commits
mailing list