30 lines · plain
1// RUN: llvm-mc -g -triple i386-apple-darwin10 %s -filetype=obj -o %t2// RUN: llvm-dwarfdump -debug-line %t | FileCheck %s3 4# 100 "t.s" 15.globl _bar6_bar:7 movl $0, %eax8# 3 "inc/g.s"9 movl $0, %eax10L1: leave11# 42 "t.s"12 ret13 14// rdar://927555615 16// We check that the source name "t.s" is picked up17// CHECK: include_directories[ 1] = "inc"18// CHECK: file_names[ 1]:19// CHECK-NEXT: name: "t.s"20// CHECK-NEXT: dir_index: 021// CHECK: file_names[ 2]:22// CHECK-NEXT: name: "g.s"23// CHECK-NEXT: dir_index: 124// CHECK-NOT: file_names25 26// We check that the source line number 100 is picked up before the "movl"27// CHECK: Address Line Column File ISA Discriminator OpIndex Flags28// CHECK: ------------------ ------ ------ ------ --- ------------- ------- -------------29// CHECK: 0x0000000000000000 102 0 1 0 0 0 is_stmt30