[libunwind] 2fc05fd - [libunwind] fix -Wc++98-compat-extra-semi without _LIBUNWIND_HIDE_SYMBOLS
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Mon May 31 05:55:53 PDT 2021
Author: Nico Weber
Date: 2021-05-31T08:54:53-04:00
New Revision: 2fc05fdc156fab5a7a7ef1d5b7d217ffa766d86f
URL: https://github.com/llvm/llvm-project/commit/2fc05fdc156fab5a7a7ef1d5b7d217ffa766d86f
DIFF: https://github.com/llvm/llvm-project/commit/2fc05fdc156fab5a7a7ef1d5b7d217ffa766d86f.diff
LOG: [libunwind] fix -Wc++98-compat-extra-semi without _LIBUNWIND_HIDE_SYMBOLS
Added:
Modified:
libunwind/src/config.h
Removed:
################################################################################
diff --git a/libunwind/src/config.h b/libunwind/src/config.h
index 5b860dc3632c5..2ab9d2f5e0c99 100644
--- a/libunwind/src/config.h
+++ b/libunwind/src/config.h
@@ -72,14 +72,14 @@
#if defined(__APPLE__)
#if defined(_LIBUNWIND_HIDE_SYMBOLS)
-#define _LIBUNWIND_ALIAS_VISIBILITY(name) __asm__(".private_extern " name)
+#define _LIBUNWIND_ALIAS_VISIBILITY(name) __asm__(".private_extern " name);
#else
#define _LIBUNWIND_ALIAS_VISIBILITY(name)
#endif
#define _LIBUNWIND_WEAK_ALIAS(name, aliasname) \
__asm__(".globl " SYMBOL_NAME(aliasname)); \
__asm__(SYMBOL_NAME(aliasname) " = " SYMBOL_NAME(name)); \
- _LIBUNWIND_ALIAS_VISIBILITY(SYMBOL_NAME(aliasname));
+ _LIBUNWIND_ALIAS_VISIBILITY(SYMBOL_NAME(aliasname))
#elif defined(__ELF__)
#define _LIBUNWIND_WEAK_ALIAS(name, aliasname) \
extern "C" _LIBUNWIND_EXPORT __typeof(name) aliasname \
More information about the cfe-commits
mailing list