20 lines · plain
1// RUN: llvm-mc < %s -triple=avr -filetype=obj -o %t -g -fdebug-compilation-dir=/tmp2// RUN: llvm-dwarfdump -v %t | FileCheck -check-prefix DWARF %s3// RUN: llvm-objdump -r %t | FileCheck --check-prefix=RELOC %s4 5// If there is no code in an assembly file, no debug info is produced6 7.section .data, "aw"8a:9.long 4210 11// DWARF: elf32-avr12// DWARF-NOT: contents:13// DWARF: .debug_line contents:14 15// RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_info]:16 17// RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_ranges]:18 19// RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_aranges]:20