[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:
Renato Golin
2015-07-24 19:29:05 +00:00
parent 098f7c1fcb
commit 57cb9919c5

View File

@@ -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;