1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib/DebugInfo/PDB/Native
Zachary Turner 1a1eb3534c Fix some minor issues in PDB parsing library.
1) Until now I'd never seen a valid PDB where the DBI stream and
   the PDB Stream disagreed on the "Age" field.  Because of that,
   we had code to assert that they matched.  Recently though I was
   given a PDB where they disagreed, so this assumption has proven
   to be incorrect.  Remove this check.

2) We were walking the entire list of hash values for types up front
   and then throwing away the values.  For large PDBs this was a
   significant slow down.  Remove this.

With this patch, I can dump the list of all compilands from a
1.5GB PDB file in just a few seconds.

llvm-svn: 303351
2017-05-18 15:14:44 +00:00
..
DbiModuleDescriptor.cpp [llvm-pdbdump] Abstract some of the YAML/Raw printing code. 2017-04-29 01:13:21 +00:00
DbiModuleDescriptorBuilder.cpp Fix use after free in BinaryStream library. 2017-05-03 05:34:00 +00:00
DbiModuleList.cpp [PDB] Don't build the entire source file list up front. 2017-05-04 23:53:29 +00:00
DbiStream.cpp Fix some minor issues in PDB parsing library. 2017-05-18 15:14:44 +00:00
DbiStreamBuilder.cpp [CodeView] Write CodeView line information. 2017-05-01 23:27:42 +00:00
EnumTables.cpp
GlobalsStream.cpp [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
GSI.cpp [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
GSI.h [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
Hash.cpp
HashTable.cpp [PDB] Make streams carry their own endianness. 2017-02-28 00:04:07 +00:00
InfoStream.cpp Silence -Wcovered-switch-default warning. 2017-03-16 20:45:11 +00:00
InfoStreamBuilder.cpp [PDB] Add support for parsing Flags from PDB Stream. 2017-03-16 20:19:11 +00:00
ModuleDebugStream.cpp [PDB/CodeView] Rename some classes. 2017-05-01 16:46:39 +00:00
ModuleDebugStreamBuilder.cpp [CodeView] Write CodeView line information. 2017-05-01 23:27:42 +00:00
NamedStreamMap.cpp [llvm-pdbdump] Add support for diffing the PDB Stream. 2017-03-16 20:18:41 +00:00
NativeCompilandSymbol.cpp [PDB] Don't build the entire source file list up front. 2017-05-04 23:53:29 +00:00
NativeEnumModules.cpp [PDB] Don't build the entire source file list up front. 2017-05-04 23:53:29 +00:00
NativeExeSymbol.cpp [PDB] Don't build the entire source file list up front. 2017-05-04 23:53:29 +00:00
NativeRawSymbol.cpp [llvm-pdbdump] Re-write the record layout code to be more resilient. 2017-04-24 17:47:24 +00:00
NativeSession.cpp [llvm-pdbdump] More advanced class definition dumping. 2017-04-12 23:18:21 +00:00
PDBFile.cpp Resubmit r301986 and r301987 "Add codeview::StringTable" 2017-05-03 15:58:37 +00:00
PDBFileBuilder.cpp [llvm-pdbdump] in yaml2pdb, generate default output filename if none given 2017-05-17 20:46:48 +00:00
PDBStringTable.cpp [llvm-readobj] Update readobj to re-use parsing code. 2017-05-03 17:11:11 +00:00
PDBStringTableBuilder.cpp Resubmit r301986 and r301987 "Add codeview::StringTable" 2017-05-03 15:58:37 +00:00
PDBTypeServerHandler.cpp [CodeView] Simplify the use of visiting type records & streams. 2017-05-17 16:39:06 +00:00
PublicsStream.cpp [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
RawError.cpp [pdb] Write the module info and symbol record streams. 2017-03-15 22:18:53 +00:00
SymbolStream.cpp [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
TpiHashing.cpp
TpiStream.cpp Fix some minor issues in PDB parsing library. 2017-05-18 15:14:44 +00:00
TpiStreamBuilder.cpp [CodeView] Add a random access type visitor. 2017-05-12 19:18:12 +00:00