Home | History | Annotate | Download | only in ELF
      1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s | FileCheck %s
      2 
      3 // Test that the dwarf debug_line section contains no line directives.
      4 
      5         .file   1 "test.c"
      6         .globl  c
      7 c:
      8         .asciz   "hi\n"
      9 
     10 // CHECK:        Section {
     11 // CHECK:          Index: 4
     12 // CHECK-NEXT:     Name: .debug_line
     13 // CHECK-NEXT:     Type: SHT_PROGBITS
     14 // CHECK-NEXT:     Flags [
     15 // CHECK-NEXT:     ]
     16 // CHECK-NEXT:     Address: 0x0
     17 // CHECK-NEXT:     Offset: 0x44
     18 // CHECK-NEXT:     Size: 39
     19 // CHECK-NEXT:     Link: 0
     20 // CHECK-NEXT:     Info: 0
     21 // CHECK-NEXT:     AddressAlignment: 1
     22 // CHECK-NEXT:     EntrySize: 0
     23 // CHECK-NEXT:   }
     24