1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/test/DebugInfo/X86/debug-macinfo-strx.s
Sourabh Singh Tomar 412512e2cd [DWARF5]: Added support for dumping strx forms in llvm-dwarfdump
This patch adds support for dumping DW_MACRO_define_strx,
DW_MACRO_undef_strx in llvm-dwarfdump. These forms are currently
supported only in debug_macro section.

Reviewed By: ikudrin, dblaikie

Differential Revision: https://reviews.llvm.org/D78736
2020-05-12 10:29:18 +05:30

15 lines
484 B
ArmAsm

## This test checks that llvm-dwarfdump produces
## DW_MACINFO_invalid when parsing *_strx
## 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 11 # DW_MACRO_define_strx