llvm-mirror/tools/llvm-pdbutil
Zachary Turner 9243b281e0 [PDB] One more fix for hasing GSI records.
The reference implementation uses a case-insensitive string
comparison for strings of equal length.  This will cause the
string "tEo" to compare less than "VUo".  However we were using
a case sensitive comparison, which would generate the opposite
outcome.  Switch to a case insensitive comparison.  Also, when
one of the strings contains non-ascii characters, fallback to
a straight memcmp.

The only way to really test this is with a DIA test.  Before this
patch, the test will fail (but succeed if link.exe is used instead
of lld-link).  After the patch, it succeeds even with lld-link.

llvm-svn: 336464
2018-07-06 21:01:42 +00:00
..
Analyze.cpp Refactor the PDB HashTable class. 2018-03-15 17:38:26 +00:00
Analyze.h
BytesOutputStyle.cpp
BytesOutputStyle.h
CMakeLists.txt [PDB] Add an explain subcommand. 2018-03-29 16:28:20 +00:00
DumpOutputStyle.cpp [llvm-pdbutil] Dump more info about globals. 2018-07-06 02:59:25 +00:00
DumpOutputStyle.h [llvm-pdbutil] Dump more info about globals. 2018-07-06 02:59:25 +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
FormatUtil.h
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.cpp [PDB] One more fix for hasing GSI records. 2018-07-06 21:01:42 +00:00
llvm-pdbutil.h [PDB] One more fix for hasing GSI records. 2018-07-06 21:01:42 +00:00
LLVMBuild.txt
MinimalSymbolDumper.cpp
MinimalSymbolDumper.h
MinimalTypeDumper.cpp [llvm-pdbutil] Dump struct/class/union sizes in the minimal dump format 2018-05-17 18:33:42 +00:00
MinimalTypeDumper.h
OutputStyle.h
PdbYaml.cpp
PdbYaml.h
PrettyBuiltinDumper.cpp
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 [PDB] One more fix for hasing GSI records. 2018-07-06 21:01:42 +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
YAMLOutputStyle.h