diff options
author | Keno Fischer <kfischer@college.harvard.edu> | 2015-11-05 23:18:44 +0000 |
---|---|---|
committer | Keno Fischer <kfischer@college.harvard.edu> | 2015-11-05 23:18:44 +0000 |
commit | 0e2d422254d30633e772ace2d6407563aed058aa (patch) | |
tree | b3af73dba3a38997fce4a0a52ded35a48e094f1e /lldb/scripts/Python | |
parent | 943a42f924b7a86082decd799222f9279b958749 (diff) | |
download | llvm-0e2d422254d30633e772ace2d6407563aed058aa.zip llvm-0e2d422254d30633e772ace2d6407563aed058aa.tar.gz llvm-0e2d422254d30633e772ace2d6407563aed058aa.tar.bz2 |
Fix crash in EmitDeclMetadata mode
Summary: This fixes a bug that's easily encountered in LLDB
(https://llvm.org/bugs/show_bug.cgi?id=22875). The problem here is that we
mangle a name during debug info emission, but never actually emit the actual
Decl, so we run into problems in EmitDeclMetadata (which assumes such a Decl
exists). Fix that by just skipping metadata emissions for mangled names that
don't have associated Decls.
Reviewers: rjmccall
Subscribers: labath, cfe-commits
Differential Revision: http://reviews.llvm.org/D13959
llvm-svn: 252229
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions