OSDN Git Service

[DWARF] Handle the DW_OP_entry_value operand
[android-x86/external-llvm.git] / test / Verifier / diexpression-entry-value.ll
1 ; RUN: not opt -S < %s 2>&1 | FileCheck %s
2
3 !named = !{!0, !1, !2}
4 ; CHECK: invalid expression
5 !0 = !DIExpression(DW_OP_entry_value, 4, DW_OP_constu, 0, DW_OP_stack_value)
6 !1 = !DIExpression(DW_OP_constu, 0, DW_OP_entry_value, 1, DW_OP_constu, 0)
7 !2 = !DIExpression(DW_OP_entry_value, 100, DW_OP_constu, 0)