summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2015-07-24 19:29:05 +0000
committerRenato Golin <renato.golin@linaro.org>2015-07-24 19:29:05 +0000
commit57cb9919c5ee3d7d4edd3d49d52b49e10589887b (patch)
tree2d742d992855ef9dc0346f7fdf99cbf0a3bc2db1
parent098f7c1fcbb911b4cf178fa01a66ecb5c8adb5a8 (diff)
downloadbcm5719-llvm-57cb9919c5ee3d7d4edd3d49d52b49e10589887b.tar.gz
bcm5719-llvm-57cb9919c5ee3d7d4edd3d49d52b49e10589887b.zip
[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
-rw-r--r--libunwind/src/Unwind-EHABI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwind/src/Unwind-EHABI.cpp b/libunwind/src/Unwind-EHABI.cpp
index 1a8f90dd38f..bc3df41f35f 100644
--- a/libunwind/src/Unwind-EHABI.cpp
+++ b/libunwind/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;
OpenPOWER on IntegriCloud