diff options
author | David Stenberg <david.stenberg@ericsson.com> | 2019-03-18 11:27:32 +0000 |
---|---|---|
committer | David Stenberg <david.stenberg@ericsson.com> | 2019-03-18 11:27:32 +0000 |
commit | 8a2e4af7e75021d0d60963f3f42f28d350a1c818 (patch) | |
tree | 2a0f0d96a8ceb6891161ef77b6b1242eb8ecbf81 /llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp | |
parent | f92ddfed5a3df21a5c735577ce775f68130ea6e1 (diff) | |
download | llvm-8a2e4af7e75021d0d60963f3f42f28d350a1c818.zip llvm-8a2e4af7e75021d0d60963f3f42f28d350a1c818.tar.gz llvm-8a2e4af7e75021d0d60963f3f42f28d350a1c818.tar.bz2 |
[DebugInfo] Ignore bitcasts when lowering stack arg dbg.values
Summary:
Look past bitcasts when looking for parameter debug values that are
described by frame-index loads in `EmitFuncArgumentDbgValue()`.
In the attached test case we would be left with an undef `DBG_VALUE`
for the parameter without this patch.
A similar fix was done for parameters passed in registers in D13005.
This fixes PR40777.
Reviewers: aprantl, vsk, jmorse
Reviewed By: aprantl
Subscribers: bjope, javed.absar, jdoerfert, llvm-commits
Tags: #debug-info, #llvm
Differential Revision: https://reviews.llvm.org/D58831
llvm-svn: 356363
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp')
0 files changed, 0 insertions, 0 deletions