summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2018-02-26 23:23:07 +0000
committerVitaly Buka <vitalybuka@google.com>2018-02-26 23:23:07 +0000
commit78577341c41fabe1c9f6b732d9a3a886aa8e8359 (patch)
treee1bf3909ff381d691dc580d752ed065ac6d7e180
parent66911b16e66f72454d9668db9d627fc588823b78 (diff)
downloadbcm5719-llvm-78577341c41fabe1c9f6b732d9a3a886aa8e8359.tar.gz
bcm5719-llvm-78577341c41fabe1c9f6b732d9a3a886aa8e8359.zip
[asan] Fix build for Android
llvm-svn: 326149
-rw-r--r--compiler-rt/lib/asan/asan_interceptors.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/asan/asan_interceptors.cc b/compiler-rt/lib/asan/asan_interceptors.cc
index 479cedc32ea..09ea0f3e027 100644
--- a/compiler-rt/lib/asan/asan_interceptors.cc
+++ b/compiler-rt/lib/asan/asan_interceptors.cc
@@ -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);
OpenPOWER on IntegriCloud