[libunwind] [libunwind] Fix comment about phase (NFC) (PR #206660)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 30 00:00:11 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libunwind

Author: Heejin Ahn (aheejin)

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/206660.diff


1 Files Affected:

- (modified) libunwind/src/Unwind-wasm.c (+1-1) 


``````````diff
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);

``````````

</details>


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


More information about the cfe-commits mailing list