mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 16:36:40 +00:00
9243b281e0
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 |
||
---|---|---|
.. | ||
Analyze.cpp | ||
Analyze.h | ||
BytesOutputStyle.cpp | ||
BytesOutputStyle.h | ||
CMakeLists.txt | ||
DumpOutputStyle.cpp | ||
DumpOutputStyle.h | ||
ExplainOutputStyle.cpp | ||
ExplainOutputStyle.h | ||
FormatUtil.cpp | ||
FormatUtil.h | ||
InputFile.cpp | ||
InputFile.h | ||
LinePrinter.cpp | ||
LinePrinter.h | ||
llvm-pdbutil.cpp | ||
llvm-pdbutil.h | ||
LLVMBuild.txt | ||
MinimalSymbolDumper.cpp | ||
MinimalSymbolDumper.h | ||
MinimalTypeDumper.cpp | ||
MinimalTypeDumper.h | ||
OutputStyle.h | ||
PdbYaml.cpp | ||
PdbYaml.h | ||
PrettyBuiltinDumper.cpp | ||
PrettyBuiltinDumper.h | ||
PrettyClassDefinitionDumper.cpp | ||
PrettyClassDefinitionDumper.h | ||
PrettyClassLayoutGraphicalDumper.cpp | ||
PrettyClassLayoutGraphicalDumper.h | ||
PrettyCompilandDumper.cpp | ||
PrettyCompilandDumper.h | ||
PrettyEnumDumper.cpp | ||
PrettyEnumDumper.h | ||
PrettyExternalSymbolDumper.cpp | ||
PrettyExternalSymbolDumper.h | ||
PrettyFunctionDumper.cpp | ||
PrettyFunctionDumper.h | ||
PrettyTypedefDumper.cpp | ||
PrettyTypedefDumper.h | ||
PrettyTypeDumper.cpp | ||
PrettyTypeDumper.h | ||
PrettyVariableDumper.cpp | ||
PrettyVariableDumper.h | ||
StreamUtil.cpp | ||
StreamUtil.h | ||
YAMLOutputStyle.cpp | ||
YAMLOutputStyle.h |