[libunwind] Silence -Wunused-parameter warnings in Unwind-wasm.c (#125412)
This commit is contained in:
parent
81a8b20045
commit
f4206f92c5
@ -102,8 +102,7 @@ _LIBUNWIND_EXPORT uintptr_t _Unwind_GetIP(struct _Unwind_Context *context) {
|
||||
}
|
||||
|
||||
/// Not used in Wasm.
|
||||
_LIBUNWIND_EXPORT void _Unwind_SetIP(struct _Unwind_Context *context,
|
||||
uintptr_t value) {}
|
||||
_LIBUNWIND_EXPORT void _Unwind_SetIP(struct _Unwind_Context *, uintptr_t) {}
|
||||
|
||||
/// Called by personality handler to get LSDA for current frame.
|
||||
_LIBUNWIND_EXPORT uintptr_t
|
||||
@ -115,8 +114,7 @@ _Unwind_GetLanguageSpecificData(struct _Unwind_Context *context) {
|
||||
}
|
||||
|
||||
/// Not used in Wasm.
|
||||
_LIBUNWIND_EXPORT uintptr_t
|
||||
_Unwind_GetRegionStart(struct _Unwind_Context *context) {
|
||||
_LIBUNWIND_EXPORT uintptr_t _Unwind_GetRegionStart(struct _Unwind_Context *) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user