[clang] [llvm] [clang][Mach-O] Add a flag to force UNWIND_*_MODE_DWARF compact unwind info (PR #204005)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 18 05:24:55 PDT 2026


================
@@ -7,7 +8,8 @@
         .code        16
 
 @ CHECK-LABEL: start: {{.*}} _test_r4_r5_r6
-@ CHECK: compact encoding: 0x01000007
+@ COMPACT: compact encoding: 0x01000007
+@ DWARF:   compact encoding: 0x04000000
----------------
MaskRay wrote:

Add a single comment what 0x04000000 means (no comment needed for following occurrences).

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


More information about the cfe-commits mailing list