OSDN Git Service

Fix SelectionDAGBuilder::getDbgValue to not expect DW_OP_deref on FI vars
authorAdrian Prantl <aprantl@apple.com>
Thu, 25 May 2017 18:54:10 +0000 (18:54 +0000)
committerAdrian Prantl <aprantl@apple.com>
Thu, 25 May 2017 18:54:10 +0000 (18:54 +0000)
commit674c13e409628874280859217f9a0b1e792f160d
tree3798d6af9a89bc2c0e06a514fe89770d04d833b6
parenta600582004e0866a368b1e9f78cffa12ef908676
Fix SelectionDAGBuilder::getDbgValue to not expect DW_OP_deref on FI vars

This fixes an oversight in r300522, which changed alloca
dbg.values to no longer emit a DW_OP_deref.

The array.ll testcase was regenerated from source.

Fixes PR33166:
https://bugs.llvm.org/show_bug.cgi?id=33166

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303897 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/DebugInfo/X86/array.ll
test/DebugInfo/X86/dbg-value-frame-index.ll