• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -triple x86_64-unknown-unknown -filetype=obj %s | llvm-objdump -r - | FileCheck %s
2// CHECK-NOT: RELOCATION RECORDS
3
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
12
13	.section	.other_section,"",@progbits
14	.long	46                      # Length of Unit
15
16