[llvm] Support SFrame command-line and .cfi_section syntax (PR #149935)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 23 11:21:34 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/31033

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Driver/femit-dwarf-unwind.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
rm -rf /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/femit-dwarf-unwind.c.tmp; mkdir /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/femit-dwarf-unwind.c.tmp # RUN: at line 3
+ rm -rf /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/femit-dwarf-unwind.c.tmp
+ mkdir /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/femit-dwarf-unwind.c.tmp
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -target x86_64-apple-macos11.0 -c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/femit-dwarf-unwind.c -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/femit-dwarf-unwind.c.tmp/x86_64.o -femit-compact-unwind-non-canonical # RUN: at line 4
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -target x86_64-apple-macos11.0 -c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/femit-dwarf-unwind.c -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/femit-dwarf-unwind.c.tmp/x86_64.o -femit-compact-unwind-non-canonical
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -target x86_64-apple-macos11.0 -femit-dwarf-unwind=no-compact-unwind -femit-compact-unwind-non-canonical -c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/femit-dwarf-unwind.c -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/femit-dwarf-unwind.c.tmp/x86_64-no-dwarf.o # RUN: at line 5
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -target x86_64-apple-macos11.0 -femit-dwarf-unwind=no-compact-unwind -femit-compact-unwind-non-canonical -c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/femit-dwarf-unwind.c -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/femit-dwarf-unwind.c.tmp/x86_64-no-dwarf.o
llvm-objdump --macho --dwarf=frames /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/femit-dwarf-unwind.c.tmp/x86_64.o | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/femit-dwarf-unwind.c --check-prefix=WITH-FDE # RUN: at line 6
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/femit-dwarf-unwind.c --check-prefix=WITH-FDE
+ llvm-objdump --macho --dwarf=frames /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/femit-dwarf-unwind.c.tmp/x86_64.o
llvm-objdump --macho --dwarf=frames /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/femit-dwarf-unwind.c.tmp/x86_64-no-dwarf.o | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/femit-dwarf-unwind.c --check-prefix=NO-FDE # RUN: at line 7
+ llvm-objdump --macho --dwarf=frames /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/femit-dwarf-unwind.c.tmp/x86_64-no-dwarf.o
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/femit-dwarf-unwind.c --check-prefix=NO-FDE
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/femit-dwarf-unwind.c:10:16: error: NO-FDE-NOT: excluded string found in input
// NO-FDE-NOT: FDE
               ^
<stdin>:23:28: note: found here
00000018 0000001c 00000000 FDE cie=00000000 pc=00000000...0000000b
                           ^~~

Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/femit-dwarf-unwind.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
        1:  
        2: .debug_frame contents: 
        3:  
        4: 00000000 00000014 ffffffff CIE 
        5:  Format: DWARF32 
        6:  Version: 4 
        7:  Augmentation: "" 
        8:  Address size: 8 
        9:  Segment desc size: 0 
       10:  Code alignment factor: 1 
       11:  Data alignment factor: -8 
       12:  Return address column: 16 
       13:  
       14:  DW_CFA_def_cfa: reg7 +8 
       15:  DW_CFA_offset: reg16 -8 
       16:  DW_CFA_nop: 
       17:  DW_CFA_nop: 
       18:  DW_CFA_nop: 
...

```

</details>

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


More information about the llvm-commits mailing list