diff options
author | Amy Huang <akhuang@google.com> | 2019-05-06 23:37:03 +0000 |
---|---|---|
committer | Amy Huang <akhuang@google.com> | 2019-05-06 23:37:03 +0000 |
commit | 987b969babe10ffb85d9f81e7449d005707109eb (patch) | |
tree | b0599d6cc482653f9efc8133efcb9406e64db654 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
parent | 5f2e10e9c3251f623d9962984a34ae40bb84b1ff (diff) | |
download | llvm-987b969babe10ffb85d9f81e7449d005707109eb.zip llvm-987b969babe10ffb85d9f81e7449d005707109eb.tar.gz llvm-987b969babe10ffb85d9f81e7449d005707109eb.tar.bz2 |
Fix bug in getCompleteTypeIndex in codeview debug info
Summary:
When there are multiple instances of a forward decl record type, only the first one is emitted with a type index, because
the type is added to a map with a null type index. Avoid this by reordering so that forward decl types aren't added to the map.
Reviewers: rnk
Subscribers: aprantl, hiraditya, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D61460
llvm-svn: 360101
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions