mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
412512e2cd
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
15 lines
483 B
ArmAsm
15 lines
483 B
ArmAsm
## 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
|