[PATCH] D69201: hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on __hwasan_personality_wrapper.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 15:55:59 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rG33b758d2af31: hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on… (authored by pcc).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69201/new/
https://reviews.llvm.org/D69201
Files:
compiler-rt/lib/hwasan/hwasan_exceptions.cpp
Index: compiler-rt/lib/hwasan/hwasan_exceptions.cpp
===================================================================
--- compiler-rt/lib/hwasan/hwasan_exceptions.cpp
+++ compiler-rt/lib/hwasan/hwasan_exceptions.cpp
@@ -32,10 +32,13 @@
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,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69201.225709.patch
Type: text/x-patch
Size: 1211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191018/f5ab407e/attachment.bin>
More information about the llvm-commits
mailing list