mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
[libunwind] Flip order of extern "C" and attribute(visibility)
GCC doesn't seems to like having the attribute before extern, but Clang accepts it either way. This patch makes it compile on both. llvm-svn: 243147
This commit is contained in:
@@ -997,7 +997,7 @@ _Unwind_DeleteException(_Unwind_Exception *exception_object) {
|
||||
exception_object);
|
||||
}
|
||||
|
||||
_LIBUNWIND_EXPORT extern "C" _Unwind_Reason_Code
|
||||
extern "C" _LIBUNWIND_EXPORT _Unwind_Reason_Code
|
||||
__gnu_unwind_frame(_Unwind_Exception *exception_object,
|
||||
struct _Unwind_Context *context) {
|
||||
unw_cursor_t *cursor = (unw_cursor_t *)context;
|
||||
|
||||
Reference in New Issue
Block a user