If dbg.declare from non-entry block is using alloca from entry block then use offset...
authorDevang Patel <dpatel@apple.com>
Wed, 15 Sep 2010 14:48:53 +0000 (14:48 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 15 Sep 2010 14:48:53 +0000 (14:48 +0000)
commit1397fdc0ab272a6a295149fba0903f65a6d1885e
tree5db589b561ec9676fdbf94bb778a87fd5b092563
parent40989a40f085ca027ba322fbcffc771cb360e854
If dbg.declare from non-entry block is using alloca from entry block then use offset available in StaticAllocaMap to emit DBG_VALUE. Right now, this has no material impact because varible info also collected using offset table maintained in machine module info.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113967 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp