[compiler-rt] r326149 - [asan] Fix build for Android

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 15:23:07 PST 2018


Author: vitalybuka
Date: Mon Feb 26 15:23:07 2018
New Revision: 326149

URL: http://llvm.org/viewvc/llvm-project?rev=326149&view=rev
Log:
[asan] Fix build for Android

Modified:
    compiler-rt/trunk/lib/asan/asan_interceptors.cc

Modified: compiler-rt/trunk/lib/asan/asan_interceptors.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_interceptors.cc?rev=326149&r1=326148&r2=326149&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_interceptors.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_interceptors.cc Mon Feb 26 15:23:07 2018
@@ -334,7 +334,7 @@ INTERCEPTOR(void, __cxa_rethrow_primary_
 
 #if ASAN_INTERCEPT__UNWIND_RAISEEXCEPTION
 INTERCEPTOR(_Unwind_Reason_Code, _Unwind_RaiseException,
-            struct _Unwind_Exception *object) {
+            _Unwind_Exception *object) {
   CHECK(REAL(_Unwind_RaiseException));
   __asan_handle_no_return();
   return REAL(_Unwind_RaiseException)(object);
@@ -343,7 +343,7 @@ INTERCEPTOR(_Unwind_Reason_Code, _Unwind
 
 #if ASAN_INTERCEPT__SJLJ_UNWIND_RAISEEXCEPTION
 INTERCEPTOR(_Unwind_Reason_Code, _Unwind_SjLj_RaiseException,
-            struct _Unwind_Exception *object) {
+            _Unwind_Exception *object) {
   CHECK(REAL(_Unwind_SjLj_RaiseException));
   __asan_handle_no_return();
   return REAL(_Unwind_SjLj_RaiseException)(object);




More information about the llvm-commits mailing list