[libunwind] [libunwind][NFC] Typo fixes & comments corrections & code style changes. (PR #174565)

Benjamin Maxwell via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 19 02:37:57 PST 2026


================
@@ -120,10 +120,10 @@ typedef int (*unw_find_dynamic_unwind_sections)(
 extern int __unw_add_find_dynamic_unwind_sections(
     unw_find_dynamic_unwind_sections find_dynamic_unwind_sections);
 
-// Deregister a dynacim unwind-info lookup callback.
+// Deregister a dynamic unwind-info lookup callback.
 //
 // Returns UNW_ESUCCESS for successful deregistrations. If the given callback
-// has already been registered then UNW_EINVAL will be returned.
+// does not present then UNW_EINVAL will be returned.
----------------
MacDue wrote:

`does not present` is not the correct wording. It should be `If the given callback is not present then UNW_EINVAL will be returned.`

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


More information about the cfe-commits mailing list