[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / COFF / cv-loc-cross-section.s
blob17603540054e08020cb129801586a451c8ef0626
1 # RUN: not llvm-mc -triple=x86_64-pc-win32 < %s -o /dev/null 2>&1 | FileCheck %s
3 .text
4 .global baz
5 baz:
6 .Lfunc_begin0:
7 .cv_file 1 "t.cpp"
8 .cv_func_id 0
9 .cv_loc 0 1 1 1
10 pushq %rbp
11 movq %rsp, %rbp
12 .cv_loc 0 1 2 1
14 .data # Switching sections raises an error.
16 incl x(%rip)
17 .cv_loc 0 1 3 1
18 # CHECK: error: all .cv_loc directives for a function must be in the same section
19 popq %rbp
20 retq
21 .Lfunc_end0:
23 .section .debug$S,"dr"
24 .cv_linetable 0 .Lfunc_begin0 .Lfunc_end0
25 .short 2 # Record length
26 .short 2 # Record kind: S_INLINESITE_END