brintos

brintos / llvm-project-archived public Read only

0
0
Text · 553 B · 1760354 Raw
27 lines · plain
1# RUN: not llvm-mc -triple=x86_64-pc-win32 < %s -o /dev/null 2>&1 | FileCheck %s2 3	.text4	.global baz5baz:6.Lfunc_begin0:7	.cv_file 1 "t.cpp"8	.cv_func_id 09	.cv_loc 0 1 1 110	pushq %rbp11	movq %rsp, %rbp12	.cv_loc 0 1 2 113 14	.data # Switching sections raises an error.15 16	incl    x(%rip)17	.cv_loc 0 1 3 118# CHECK: error: all .cv_loc directives for a function must be in the same section19	popq %rbp20	retq21.Lfunc_end0:22 23	.section	.debug$S,"dr"24	.cv_linetable 0 .Lfunc_begin0 .Lfunc_end025	.short 2   # Record length26	.short 2   # Record kind: S_INLINESITE_END27