[libunwind] [libunwind] Fix comment about phase (NFC) (PR #206660)
Heejin Ahn via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 29 23:59:37 PDT 2026
https://github.com/aheejin created https://github.com/llvm/llvm-project/pull/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.
>From 6ba8a21369022dccded9f02da7e239ae089cd336 Mon Sep 17 00:00:00 2001
From: Heejin Ahn <aheejin at gmail.com>
Date: Tue, 30 Jun 2026 06:50:00 +0000
Subject: [PATCH] [libunwind] Fix comment about phase (NFC)
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.
---
libunwind/src/Unwind-wasm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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