[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / X86 / line-table-sections.s
blob93b911d9576f2c81e9aab12ece09f8dc268dfae4
1 // RUN: llvm-mc -triple x86_64-unknown-unknown -filetype=obj %s | llvm-objdump -r - | FileCheck %s
2 // CHECK-NOT: RELOCATION RECORDS
4 // ensure that a .loc directive at the end of a section doesn't bleed into the
5 // following section previously this would produce a relocation for
6 // .other_section in the line table. But it should actually produce no line
7 // table entries at all.
8 .text
9 .file 1 "fail.cpp"
10 .loc 1 7 3 prologue_end # fail.cpp:7:3
11 # addss %xmm0, %xmm1
13 .section .other_section,"",@progbits
14 .long 46 # Length of Unit