[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / dwarf-asm-no-code.s
blobdc1eb95e745d8c3ec8ec91cf028ace344d016ede
1 // RUN: llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o %t -g -fdebug-compilation-dir=/tmp
2 // RUN: llvm-dwarfdump -v %t | FileCheck -check-prefix DWARF %s
3 // RUN: llvm-objdump -r %t | FileCheck -check-prefix RELOC %s
5 // If there is no code in an assembly file, no debug info is produced
7 .section .data, "aw"
8 a:
9 .long 42
11 // DWARF: ELF32-arm-little
12 // DWARF-NOT: contents:
13 // DWARF: .debug_line contents:
15 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_info]:
17 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_ranges]:
19 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_aranges]: