linux-packaging-mono/external/llvm/test/MC/X86/line-table-sections.s
Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

16 lines
565 B
ArmAsm

// RUN: llvm-mc -triple x86_64-unknown-unknown -filetype=obj %s | llvm-objdump -r - | FileCheck %s
// CHECK-NOT: RELOCATION RECORDS
// ensure that a .loc directive at the end of a section doesn't bleed into the
// following section previously this would produce a relocation for
// .other_section in the line table. But it should actually produce no line
// table entries at all.
.text
.file 1 "fail.cpp"
.loc 1 7 3 prologue_end # fail.cpp:7:3
# addss %xmm0, %xmm1
.section .other_section,"",@progbits
.long 46 # Length of Unit