OSDN Git Service

DebugInfo: Fix UserValue::match() in LiveDebugVariables after r235050
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 16 Apr 2015 22:27:54 +0000 (22:27 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 16 Apr 2015 22:27:54 +0000 (22:27 +0000)
commit1d30e3faf29e21894d1e3d87a0b4ce424acc2935
tree9fd8c8c5b1833c0144d7e6d5427de427243ee0b6
parentfabcaee0e80653e98206212b34515f1bb16c0d56
DebugInfo: Fix UserValue::match() in LiveDebugVariables after r235050

r235050 dropped the inlined-at field from `MDLocalVariable`, deferring
to the `!dbg` attachments.  Fix `UserValue` to take the `!dbg` into
account when differentiating between variables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235140 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveDebugVariables.cpp
test/DebugInfo/X86/inlined-formal-parameter.ll [new file with mode: 0644]