diff options
author | Reid Kleckner <rnk@google.com> | 2017-03-29 22:51:22 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-03-29 22:51:22 +0000 |
commit | acd9a6f09d391bb14155d95791cafa78dec279df (patch) | |
tree | ea9fa745289a923abfef8e9edb968a707a8a985c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b8a728f9938afd526422907d273208e06c06a039 (diff) | |
download | bcm5719-llvm-acd9a6f09d391bb14155d95791cafa78dec279df.tar.gz bcm5719-llvm-acd9a6f09d391bb14155d95791cafa78dec279df.zip |
[codeview] Fix buggy BeginIndexMapSize assertion
This assert is just trying to test that processing each record adds
exactly one entry to the index map. The assert logic was wrong when the
first record in the type stream was a field list.
I've simplified the code by moving the LF_FIELDLIST-specific logic into
the callback for that record type.
llvm-svn: 299035
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions