diff options
author | Wolfgang Pieb <Wolfgang.Pieb@sony.com> | 2016-08-15 18:18:26 +0000 |
---|---|---|
committer | Wolfgang Pieb <Wolfgang.Pieb@sony.com> | 2016-08-15 18:18:26 +0000 |
commit | dfad9b20c9e19fb91c129232fa3bae23aa58dede (patch) | |
tree | 0fbffa5ba4659567745bac4e95a315d04a7b0b11 /llvm/test/DebugInfo/X86/dbg-value-const-byref.ll | |
parent | cbd62a082c95ddeeb0a4dc60d2667ad3f7221610 (diff) | |
download | bcm5719-llvm-dfad9b20c9e19fb91c129232fa3bae23aa58dede.tar.gz bcm5719-llvm-dfad9b20c9e19fb91c129232fa3bae23aa58dede.zip |
Local variables whose address is taken and passed on to a call are described
in debug info using their stack slots instead of as an indirection of param reg + 0
offset. This is done by detecting FrameIndexSDNodes in SelectionDAG and generating
FrameIndexDbgValues for them. This ultimately generates DBG_VALUEs with stack
location operands.
Differential Revision: http://reviews.llvm.org/D23283
llvm-svn: 278703
Diffstat (limited to 'llvm/test/DebugInfo/X86/dbg-value-const-byref.ll')
-rw-r--r-- | llvm/test/DebugInfo/X86/dbg-value-const-byref.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/dbg-value-const-byref.ll b/llvm/test/DebugInfo/X86/dbg-value-const-byref.ll index 195efce5b8d..40b9f726f31 100644 --- a/llvm/test/DebugInfo/X86/dbg-value-const-byref.ll +++ b/llvm/test/DebugInfo/X86/dbg-value-const-byref.ll @@ -41,7 +41,8 @@ ; rdi+0 ; CHECK: Beginning address offset: [[R1]] ; CHECK: Ending address offset: [[R2:.*]] -; CHECK: Location description: 75 00 +; CHECK: Location description: 77 04 +; rsp+4 ; target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.9.0" |