diff options
author | Reid Kleckner <rnk@google.com> | 2017-07-11 22:37:50 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-07-11 22:37:50 +0000 |
commit | 2bf9ab2d626bb86ff9500afeb6da998d2bfc7a3d (patch) | |
tree | 4cc0c29e6adfe60eea709b0652aae121c9c03ddb /llvm/lib/Target/Sparc/SparcRegisterInfo.cpp | |
parent | 447f6771337f509681f735ed5692b24def816347 (diff) | |
download | bcm5719-llvm-2bf9ab2d626bb86ff9500afeb6da998d2bfc7a3d.tar.gz bcm5719-llvm-2bf9ab2d626bb86ff9500afeb6da998d2bfc7a3d.zip |
[PDB] Tweak bad type index error handling
Translate invalid type indices to a sentinel value instead of skipping
the record. Skipping records isn't a good recovery method, because we
can skip a scope open or close record, which will confuse the scope
management code.
We currently have lots of invalid type indices on Microsoft-provided
standard libraries, because the LF_TYPESERVER2 records contain absolute
paths that are only valid on their build servers. Our type server
handlers need to look at other things (GUIDs) to find these type server
PDBs.
llvm-svn: 307726
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcRegisterInfo.cpp')
0 files changed, 0 insertions, 0 deletions