xref: /aosp_15_r20/external/llvm/test/MC/AsmParser/cfi-window-save.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -filetype=asm -triple x86_64-pc-linux-gnu <%s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker# Should use SPARC as the target to test this. However, SPARC does not support
4*9880d681SAndroid Build Coastguard Worker# asm parsing yet.
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker# CHECK: .cfi_window_save
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Workerf:
10*9880d681SAndroid Build Coastguard Worker        .cfi_startproc
11*9880d681SAndroid Build Coastguard Worker        nop
12*9880d681SAndroid Build Coastguard Worker        .cfi_window_save
13*9880d681SAndroid Build Coastguard Worker        nop
14*9880d681SAndroid Build Coastguard Worker        .cfi_endproc
15*9880d681SAndroid Build Coastguard Worker
16