[asan] Fix build for Android
authorVitaly Buka <vitalybuka@google.com>
Mon, 26 Feb 2018 23:23:07 +0000 (23:23 +0000)
committerVitaly Buka <vitalybuka@google.com>
Mon, 26 Feb 2018 23:23:07 +0000 (23:23 +0000)
llvm-svn: 326149

compiler-rt/lib/asan/asan_interceptors.cc

index 479cedc32eacff8f5879105aa013e0f32de27b43..09ea0f3e0277cc0ce997f8bd871ee9a3ae3d2cda 100644 (file)
@@ -334,7 +334,7 @@ INTERCEPTOR(void, __cxa_rethrow_primary_exception, void *a) {
 
 #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_RaiseException,
 
 #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);