21 lines · plain
1# RUN: llvm-mc -triple x86_64-unknown-unknown %s --validate-cfi --filetype=null 2>&1 | FileCheck %s2# RUN: llvm-mc -triple x86_64-unknown-unknown %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:3# ASSEMBLER: .text4.text5 .globl f6 .type f, @function7f:8 .cfi_startproc9 10 .cfi_remember_state11 # CHECK: warning: this directive is not supported, ignoring it12 .cfi_escape 013 # CHECK: warning: this directive is not supported, ignoring it14 .cfi_restore %rsp15 # CHECK: warning: this directive behavior depends on the assembler, ignoring it16 .cfi_restore_state17 # CHECK: warning: this directive is not supported, ignoring it18.Lfunc_end0:19 .size f, .Lfunc_end0-f20 .cfi_endproc21