1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00
llvm-mirror/test/DebugInfo/X86/unsupported-dwarf64-debug-macro-v5.s
Sourabh Singh Tomar d33f7a7cb5 [DWARF5] Added support for debug_macro section parsing and dumping in llvm-dwarfdump.
Summary:
This patch adds parsing and dumping DWARFv5 .debug_macro section in llvm-dwarfdump,
it does not introduce any new switch. Existing switch "--debug-macro"
should be used to dump macinfo or macro section.

Reviewed By: dblaikie, ikudrin, jhenderson

Differential Revision: https://reviews.llvm.org/D73086
2020-04-03 12:23:51 +05:30

14 lines
584 B
ArmAsm

## This test checks llvm-dwarfdump emits correct error diagnostics for the
## unsupported case where DWARF64 flag is present in the debug_macro section header.
# RUN: llvm-mc -triple x86_64-unknown-linux -filetype=obj %s -o -| \
# RUN: not llvm-dwarfdump -debug-macro - /dev/null 2>&1 | FileCheck %s
# CHECK:error: DWARF64 is not supported
.section .debug_macro,"",@progbits
.Lcu_macro_begin0:
.short 5 # Macro information version
.byte 3 # Flags: 64 bit, debug_line_offset present
.quad 0 # debug_line_offset