xref: /llvm-project/llvm/test/DebugInfo/X86/unsupported-opcode_operands_table-debug-macro-v5.s (revision 69c8fb1c65fe54e2a15ff7339cdebb70ee290bd1)
1*69c8fb1cSSourabh Singh Tomar## This test checks llvm-dwarfdump emits correct error diagnostics for the
2*69c8fb1cSSourabh Singh Tomar## unsupported case where the opcode_operands_table flag is present in the
3*69c8fb1cSSourabh Singh Tomar## debug_macro section header.
4*69c8fb1cSSourabh Singh Tomar
5*69c8fb1cSSourabh Singh Tomar# RUN: llvm-mc -triple x86_64-unknown-linux -filetype=obj %s -o -| \
6*69c8fb1cSSourabh Singh Tomar# RUN:   not llvm-dwarfdump -debug-macro - /dev/null 2>&1 | FileCheck %s
7*69c8fb1cSSourabh Singh Tomar
8*69c8fb1cSSourabh Singh Tomar# CHECK:error: opcode_operands_table is not supported
9*69c8fb1cSSourabh Singh Tomar
10*69c8fb1cSSourabh Singh Tomar	.section	.debug_macro,"",@progbits
11*69c8fb1cSSourabh Singh Tomar.Lcu_macro_begin0:
12*69c8fb1cSSourabh Singh Tomar	.short	5                      # Macro information version
13*69c8fb1cSSourabh Singh Tomar	.byte	4                       # Flags: 32 bit, debug_line_offset absent, opcode_operands_table present
14