mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
a77a0a3548
Add the IR and the AsmPrinter parts for handling of the DW_OP_entry_values DWARF operation. ([11/13] Introduce the debug entry values.) Co-authored-by: Ananth Sowda <asowda@cisco.com> Co-authored-by: Nikola Prica <nikola.prica@rt-rk.com> Co-authored-by: Ivan Baev <ibaev@cisco.com> Differential Revision: https://reviews.llvm.org/D60866 llvm-svn: 364542
8 lines
307 B
LLVM
8 lines
307 B
LLVM
; RUN: not opt -S < %s 2>&1 | FileCheck %s
|
|
|
|
!named = !{!0, !1, !2}
|
|
; CHECK: invalid expression
|
|
!0 = !DIExpression(DW_OP_entry_value, 4, DW_OP_constu, 0, DW_OP_stack_value)
|
|
!1 = !DIExpression(DW_OP_constu, 0, DW_OP_entry_value, 1, DW_OP_constu, 0)
|
|
!2 = !DIExpression(DW_OP_entry_value, 100, DW_OP_constu, 0)
|