Do not lose debug info of an inlined function argument even if the argument is only...
authorDevang Patel <dpatel@apple.com>
Fri, 18 Feb 2011 22:43:42 +0000 (22:43 +0000)
committerDevang Patel <dpatel@apple.com>
Fri, 18 Feb 2011 22:43:42 +0000 (22:43 +0000)
commita778f5c798fc78ca15f813c362cdcdcc1eb86266
tree6985fb1ab8c5de26f937356d0be0ab4011b8548e
parent0160c8a8bc1c1f3c3a65a44cb614bf03ef82a967
Do not lose debug info of an inlined function argument even if the argument is only used through GEPs.
This time with a fix that avoids using invalidated DenseMap iterator.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125984 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/CodeGen/X86/dbg-value-inlined-parameter.ll [new file with mode: 0644]