mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
b7509c63e9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211279 91177308-0d34-0410-b5e6-96231b3b80d8
28 lines
703 B
ArmAsm
28 lines
703 B
ArmAsm
// RUN: llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o %t -g -fdebug-compilation-dir=/tmp
|
|
// RUN: llvm-dwarfdump %t | FileCheck -check-prefix DWARF %s
|
|
// RUN: llvm-objdump -r %t | FileCheck -check-prefix RELOC %s
|
|
|
|
// If there is no code in an assembly file, no debug info is produced
|
|
|
|
.section .data, "aw"
|
|
a:
|
|
.long 42
|
|
|
|
// DWARF: .debug_abbrev contents:
|
|
// DWARF-NEXT: < EMPTY >
|
|
|
|
// DWARF: .debug_info contents:
|
|
|
|
// DWARF: .debug_aranges contents:
|
|
|
|
// DWARF: .debug_line contents:
|
|
|
|
// DWARF: .debug_ranges contents:
|
|
|
|
|
|
// RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_info]:
|
|
|
|
// RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_ranges]:
|
|
|
|
// RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_aranges]:
|