From 5883af3faaa5355cc886c0b66c95ab7669e024dc Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Mon, 19 Jan 2015 17:57:29 +0000 Subject: Remove support for DIVariable's FlagIndirectVariable and expect frontends to use a DIExpression with a DW_OP_deref instead. This is not only a much more natural place for this informationl; there is also a technical reason: The FlagIndirectVariable is used to mark a variable that is turned into a reference by virtue of the calling convention; this happens for example to aggregate return values. The inliner, for example, may actually need to undo this indirection to correctly represent the value in its new context. This is impossible to implement because the DIVariable can't be safely modified. We can however safely construct a new DIExpression on the fly. llvm-svn: 226476 --- llvm/test/DebugInfo/X86/dbg_value_direct.ll | 4 ++-- llvm/test/DebugInfo/X86/debug-loc-offset.ll | 4 ++-- llvm/test/DebugInfo/X86/op_deref.ll | 4 ++-- llvm/test/DebugInfo/X86/parameters.ll | 8 ++++---- llvm/test/DebugInfo/X86/pr19307.ll | 4 ++-- llvm/test/DebugInfo/X86/reference-argument.ll | 4 ++-- llvm/test/DebugInfo/X86/sret.ll | 4 ++-- llvm/test/DebugInfo/X86/vla.ll | 4 ++-- 8 files changed, 18 insertions(+), 18 deletions(-) (limited to 'llvm/test/DebugInfo/X86') diff --git a/llvm/test/DebugInfo/X86/dbg_value_direct.ll b/llvm/test/DebugInfo/X86/dbg_value_direct.ll index 69c9e99519b..6723ba56913 100644 --- a/llvm/test/DebugInfo/X86/dbg_value_direct.ll +++ b/llvm/test/DebugInfo/X86/dbg_value_direct.ll @@ -70,7 +70,7 @@ entry: ;