Author: Sam Clegg Date: 2026-01-13T07:12:29-08:00 New Revision: 513c29f11c8d97309f5bb6219ea00a0030494c30
URL: https://github.com/llvm/llvm-project/commit/513c29f11c8d97309f5bb6219ea00a0030494c30 DIFF: https://github.com/llvm/llvm-project/commit/513c29f11c8d97309f5bb6219ea00a0030494c30.diff LOG: Revert "[libunwind] Silence -Wunused-parameter warnings in Unwind-wasm.c (#12…" This reverts commit f4206f92c5f900a4e0fc0f6dcab6afb6865df1e9. Added: Modified: libunwind/src/Unwind-wasm.c Removed: ################################################################################ diff --git a/libunwind/src/Unwind-wasm.c b/libunwind/src/Unwind-wasm.c index b0d6cd2d00fc5..2f4498c3f3989 100644 --- a/libunwind/src/Unwind-wasm.c +++ b/libunwind/src/Unwind-wasm.c @@ -102,7 +102,8 @@ _LIBUNWIND_EXPORT uintptr_t _Unwind_GetIP(struct _Unwind_Context *context) { } /// Not used in Wasm. -_LIBUNWIND_EXPORT void _Unwind_SetIP(struct _Unwind_Context *, uintptr_t) {} +_LIBUNWIND_EXPORT void _Unwind_SetIP(struct _Unwind_Context *context, + uintptr_t value) {} /// Called by personality handler to get LSDA for current frame. _LIBUNWIND_EXPORT uintptr_t @@ -114,7 +115,8 @@ _Unwind_GetLanguageSpecificData(struct _Unwind_Context *context) { } /// Not used in Wasm. -_LIBUNWIND_EXPORT uintptr_t _Unwind_GetRegionStart(struct _Unwind_Context *) { +_LIBUNWIND_EXPORT uintptr_t +_Unwind_GetRegionStart(struct _Unwind_Context *context) { return 0; } _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
