Summary:
http://libcxxabi.llvm.org/spec.html
void* __cxa_begin_catch(void* exceptionObject) throw();
```
folly/experimental/exception_tracer/ExceptionTracerLib.cpp:145:7: error: '__cxa_begin_catch' is missing exception specification 'throw()' [-Werror]
void* __cxa_begin_catch(void *excObj) {
^
throw()
folly/experimental/exception_tracer/ExceptionTracerLib.cpp:35:7: note: previous declaration is here
void* __cxa_begin_catch(void* excObj);
^
1 error generated.
11.44s error: folly/experimental/exception_tracer/ExceptionTracerLib.cpp
fbmake: *** [_build/opt/folly/experimental/exception_tracer/
b187621/ExceptionTracerLib.o] Error 1
```
Test Plan: fbmake
Reviewed By: philipp@fb.com
Subscribers: folly-diffs@, yfeldblum, tudort, chalfant
FB internal diff:
D2115305
Tasks:
5908365
Signature: t1:
2115305:
1433186210:
3652d81ab10effe1be6da86705322ce090fb6cd4
Blame Revision: https://phabricator.fb.com/
D2114085
FOLLY_NORETURN void __cxa_throw(void* thrownException,
std::type_info* type,
void (*destructor)(void*));
-void* __cxa_begin_catch(void* excObj);
+void* __cxa_begin_catch(void* excObj) throw();
FOLLY_NORETURN void __cxa_rethrow(void);
void __cxa_end_catch(void);
}
orig_cxa_rethrow();
}
-void* __cxa_begin_catch(void *excObj) {
+void* __cxa_begin_catch(void *excObj) throw() {
// excObj is a pointer to the unwindHeader in __cxa_exception
moveTopException(activeExceptions, caughtExceptions);
return orig_cxa_begin_catch(excObj);