[PATCH] D11486: [libunwind] Flip order of extern "C" and attribute(visibility)
Renato Golin
renato.golin at linaro.org
Fri Jul 24 08:13:00 PDT 2015
rengolin created this revision.
rengolin added reviewers: t.p.northover, mclow.lists.
rengolin added a subscriber: llvm-commits.
rengolin set the repository for this revision to rL LLVM.
GCC doesn't seems to like having the attribute before extern, but
Clang accepts it either way. This patch makes it compile on both.
Repository:
rL LLVM
http://reviews.llvm.org/D11486
Files:
src/Unwind-EHABI.cpp
Index: src/Unwind-EHABI.cpp
===================================================================
--- src/Unwind-EHABI.cpp
+++ src/Unwind-EHABI.cpp
@@ -997,7 +997,7 @@
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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11486.30575.patch
Type: text/x-patch
Size: 497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150724/c90accf8/attachment.bin>
More information about the llvm-commits
mailing list