1 // RUN
: not llvm-mc
-filetype
=obj
-triple x86_64-pc-linux-gnu
%s
-o
/dev
/null
2>&1 | FileCheck
%s
3 // Check that we diagnose malformed
.cfi_llvm_def_aspace_cfa directives.
7 // CHECK
: [[#@LINE+1]]:{{[0-9]+}}: error: invalid register name
8 .cfi_llvm_def_aspace_cfa foo
10 // CHECK
: [[#@LINE+1]]:{{[0-9]+}}: error: expected comma
11 .cfi_llvm_def_aspace_cfa %rcx .
13 // CHECK
: [[#@LINE+1]]:{{[0-9]+}}: error: expected absolute expression
14 .cfi_llvm_def_aspace_cfa %rcx, .+1
16 // CHECK
: [[#@LINE+1]]:{{[0-9]+}}: error: expected comma
17 .cfi_llvm_def_aspace_cfa %rcx, 1 .
19 // CHECK
: [[#@LINE+1]]:{{[0-9]+}}: error: expected absolute expression
20 .cfi_llvm_def_aspace_cfa %rcx, 1, .+1
22 // CHECK
: [[#@LINE+1]]:{{[0-9]+}}: error: expected newline
23 .cfi_llvm_def_aspace_cfa %rcx, 1, 1,