1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/tools/llvm-pdbutil
Adrian McCarthy 5a218694ff Remove faulty assertion in llvm-pdbutil
If a class's first data member is an instance of an empty class, then an
assertion in the PrettyClassLayoutGraphicalDumper would fail. The
storage is reserved, but it's not marked as in use.

As far as I understand, it's the assertion that's faulty, so I removed it
and updated the nearby comment.

Found by running llvm-pdbutil against its own PDB, and this assertion would
fail on HashAdjusters, which is a HashTable whose first data member is a
TraitsT, which is a PdbHashTraits<T>, which is an empty struct. (The struct
has a specialization for uint32_t, but that specialization doesn't apply
here because the T is actually ulittle32_t.)

Differential Revision: https://reviews.llvm.org/D45645

llvm-svn: 330135
2018-04-16 17:01:18 +00:00
..
Analyze.cpp Refactor the PDB HashTable class. 2018-03-15 17:38:26 +00:00
Analyze.h
BytesOutputStyle.cpp [llvm-pdbutil] Add support for dumping detailed module stats. 2017-08-21 14:53:25 +00:00
BytesOutputStyle.h [llvm-pdbutil] Add support for dumping detailed module stats. 2017-08-21 14:53:25 +00:00
CMakeLists.txt [PDB] Add an explain subcommand. 2018-03-29 16:28:20 +00:00
DumpOutputStyle.cpp [llvm-pdbutil] Display types from MSVC precompiled header object files. 2018-04-05 18:18:12 +00:00
DumpOutputStyle.h [PDB] Make our PDBs look more like MS PDBs. 2018-03-23 18:43:39 +00:00
ExplainOutputStyle.cpp [llvm-pdbutil] Add the ability to explain binary files. 2018-04-04 17:29:09 +00:00
ExplainOutputStyle.h [llvm-pdbutil] Add the ability to explain binary files. 2018-04-04 17:29:09 +00:00
FormatUtil.cpp [llvm-pdbutil] Print detailed S_UDT stats. 2017-08-31 20:43:22 +00:00
FormatUtil.h [llvm-pdbutil] Print detailed S_UDT stats. 2017-08-31 20:43:22 +00:00
InputFile.cpp [Debuginfo][COFF] Minimal serialization support for precompiled types records 2018-04-09 20:17:56 +00:00
InputFile.h [llvm-pdbutil] Add the ability to explain binary files. 2018-04-04 17:29:09 +00:00
LinePrinter.cpp
LinePrinter.h [llvm-pdbutil] Support dumping CodeView from object files. 2017-09-01 20:06:56 +00:00
llvm-pdbutil.cpp Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-pdbutil.h [llvm-pdbutil] Add the ability to explain binary files. 2018-04-04 17:29:09 +00:00
LLVMBuild.txt
MinimalSymbolDumper.cpp [PDB] Correctly link S_FILESTATIC records. 2018-01-05 19:12:40 +00:00
MinimalSymbolDumper.h [PDB] Correctly link S_FILESTATIC records. 2018-01-05 19:12:40 +00:00
MinimalTypeDumper.cpp Fix line endings (CR/LF -> LF) introduced by rL329613 2018-04-10 00:09:15 +00:00
MinimalTypeDumper.h
OutputStyle.h
PdbYaml.cpp Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
PdbYaml.h
PrettyBuiltinDumper.cpp Fix llvm-pdbutil to handle new built-in types 2018-02-22 23:16:56 +00:00
PrettyBuiltinDumper.h
PrettyClassDefinitionDumper.cpp
PrettyClassDefinitionDumper.h
PrettyClassLayoutGraphicalDumper.cpp Remove faulty assertion in llvm-pdbutil 2018-04-16 17:01:18 +00:00
PrettyClassLayoutGraphicalDumper.h
PrettyCompilandDumper.cpp [pdbutil] Print the checksum hex string when using the '-lines' option 2018-04-10 14:47:12 +00:00
PrettyCompilandDumper.h
PrettyEnumDumper.cpp
PrettyEnumDumper.h
PrettyExternalSymbolDumper.cpp [llvm-pdbdump] Add guard for null pointers and remove unused code 2018-03-07 02:23:08 +00:00
PrettyExternalSymbolDumper.h
PrettyFunctionDumper.cpp [llvm-pdbdump] Dump restrict type qualifier 2018-03-05 18:29:43 +00:00
PrettyFunctionDumper.h
PrettyTypedefDumper.cpp [llvm-pdbdump] Dump restrict type qualifier 2018-03-05 18:29:43 +00:00
PrettyTypedefDumper.h
PrettyTypeDumper.cpp [tools] Change std::sort to llvm::sort in response to r327219 2018-04-01 21:24:53 +00:00
PrettyTypeDumper.h
PrettyVariableDumper.cpp [llvm-pdbdump] Dump restrict type qualifier 2018-03-05 18:29:43 +00:00
PrettyVariableDumper.h
StreamUtil.cpp [llvm-pdbutil] Dig deeper into the PDB and DBI streams when explaining. 2018-03-30 17:16:50 +00:00
StreamUtil.h [llvm-pdbutil] Dig deeper into the PDB and DBI streams when explaining. 2018-03-30 17:16:50 +00:00
YAMLOutputStyle.cpp Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
YAMLOutputStyle.h