llvm-for-llvmta/test/DebugInfo/X86/debug-macinfo-strp.s

15 lines
483 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
## This test checks that llvm-dwarfdump produces
## DW_MACINFO_invalid when parsing *_strp
## form in a debug_macinfo section.
# RUN: llvm-mc -triple x86_64-unknown-linux -filetype=obj %s -o -| \
# RUN: llvm-dwarfdump -debug-macro - | FileCheck %s
# CHECK: .debug_macinfo contents:
# CHECK-NEXT: 0x00000000:
# CHECK-NEXT: DW_MACINFO_invalid
.section .debug_macinfo,"",@progbits
.Lcu_macinfo_begin0:
.byte 5 # DW_MACRO_define_strp