[libcxx] [libcxxabi] [libunwind] [llvm] [libc++] Enable -Wmissing-prototypes (PR #116261)

Louis Dionne via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 21 08:27:48 PST 2025


================
@@ -125,8 +125,11 @@ _Unwind_VRS_Pop(_Unwind_Context *context, _Unwind_VRS_RegClass regclass,
                 uint32_t discriminator,
                 _Unwind_VRS_DataRepresentation representation);
 
+extern _Unwind_Reason_Code __gnu_unwind_frame(_Unwind_Exception *,
+                                              struct _Unwind_Context *);
+
 #if defined(_LIBUNWIND_UNWIND_LEVEL1_EXTERNAL_LINKAGE)
-#define _LIBUNWIND_EXPORT_UNWIND_LEVEL1 extern
+#define _LIBUNWIND_EXPORT_UNWIND_LEVEL1 extern __inline__
----------------
ldionne wrote:

@DanielKristofKiss I don't have any context about this code. Our understanding is that without `__inline__`, we're defining strong symbols in a header which is an ODR violation. Can you weigh in?

https://github.com/llvm/llvm-project/pull/116261


More information about the cfe-commits mailing list