[llvm] Generate an .sframe section with a skeleton header (PR #151223)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 02:13:26 PDT 2025
================
@@ -0,0 +1,26 @@
+// TODO: Add other architectures as they gain sframe support
+// REQUIRES: x86-registered-target
+// RUN: llvm-mc --assemble --filetype=obj --gsframe -triple x86_64 %s -o %t.o
+// RUN: llvm-readelf --sframe %t.o | FileCheck %s
+
+.cfi_sections .sframe
+
+f1:
+ .cfi_startproc
+ nop
+ .cfi_endproc
----------------
jh7370 wrote:
Nit: excessive indentation?
https://github.com/llvm/llvm-project/pull/151223
More information about the llvm-commits
mailing list