Home | History | Annotate | Download | only in ARM
      1 // RUN: llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o %t -g -fdebug-compilation-dir=/tmp
      2 // RUN: llvm-dwarfdump %t | FileCheck -check-prefix DWARF %s
      3 // RUN: llvm-objdump -r %t | FileCheck -check-prefix RELOC %s
      4 
      5 // If there is no code in an assembly file, no debug info is produced
      6 
      7 .section .data, "aw"
      8 a:
      9 .long 42
     10 
     11 // DWARF: .debug_abbrev contents:
     12 // DWARF-NEXT: < EMPTY >
     13 
     14 // DWARF: .debug_info contents:
     15 
     16 // DWARF: .debug_aranges contents:
     17 
     18 // DWARF: .debug_line contents:
     19 
     20 // DWARF: .debug_ranges contents:
     21 
     22 
     23 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_info]:
     24 
     25 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_ranges]:
     26 
     27 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_aranges]:
     28