diff options
author | Renato Golin <renato.golin@linaro.org> | 2015-07-24 19:29:05 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2015-07-24 19:29:05 +0000 |
commit | 2b7506842eba7f738ae9ed0f7ff62da8e34b06c9 (patch) | |
tree | 6dab46b774d6e426bfc513f1e10c2a074a7d7dc7 | |
parent | 2d2bf2f2fb58f7114b4ab9b5714472b7884a95bc (diff) | |
download | libunwind_llvm-2b7506842eba7f738ae9ed0f7ff62da8e34b06c9.tar.gz |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@243147 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | src/Unwind-EHABI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Unwind-EHABI.cpp b/src/Unwind-EHABI.cpp index 1a8f90d..bc3df41 100644 --- a/src/Unwind-EHABI.cpp +++ b/src/Unwind-EHABI.cpp @@ -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; |