[libunwind] 443d933 - [libunwind] Fix comment about phase (NFC) (#206660)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 30 16:56:00 PDT 2026
Author: Heejin Ahn
Date: 2026-06-30T16:55:55-07:00
New Revision: 443d933cef6ef8dc5179ff8ffe9feb133a265920
URL: https://github.com/llvm/llvm-project/commit/443d933cef6ef8dc5179ff8ffe9feb133a265920
DIFF: https://github.com/llvm/llvm-project/commit/443d933cef6ef8dc5179ff8ffe9feb133a265920.diff
LOG: [libunwind] Fix comment about phase (NFC) (#206660)
We switched to use `_UA_SEARCH_PHASE` in
https://github.com/emscripten-core/emscripten/pull/17991, but the
comment above was not fixed, and it was upstreamed that way later.
Added:
Modified:
libunwind/src/Unwind-wasm.c
Removed:
################################################################################
diff --git a/libunwind/src/Unwind-wasm.c b/libunwind/src/Unwind-wasm.c
index c0ca9b775d244..2e949d005b8f5 100644
--- a/libunwind/src/Unwind-wasm.c
+++ b/libunwind/src/Unwind-wasm.c
@@ -54,7 +54,7 @@ _Unwind_Reason_Code _Unwind_CallPersonality(void *exception_ptr) {
__wasm_lpad_context.selector = 0;
// Call personality function. Wasm does not have two-phase unwinding, so we
- // only do the cleanup phase.
+ // only do the search phase.
return __gxx_personality_wasm0(
1, _UA_SEARCH_PHASE, exception_object->exception_class, exception_object,
(struct _Unwind_Context *)&__wasm_lpad_context);
More information about the cfe-commits
mailing list