1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/tools/llvm-pdbutil
Alexandre Ganea 487196fe1d [DebugInfo] Common behavior for error types
Following D50807, and heading towards D50664, this intermediary change does the following:

1. Upgrade all custom Error types in llvm/trunk/lib/DebugInfo/ to use the new StringError behavior (D50807).
2. Implement std::is_error_code_enum and make_error_code() for DebugInfo error enumerations.
3. Rename GenericError -> PDBError (the file will be renamed in a subsequent commit)
4. Update custom error messages to follow the same formatting: (\w\s*)+\.
5. Keep generic "file not found" (ENOENT) errors as they are in PDB code. Previously, there used to be a custom enumeration for that purpose.
6. Remove a few extraneous LF in log() implementations. Printing LF is a responsability at a higher level, not at the error level.

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

llvm-svn: 341228
2018-08-31 17:41:58 +00:00
..
Analyze.cpp
Analyze.h
BytesOutputStyle.cpp
BytesOutputStyle.h
CMakeLists.txt
DumpOutputStyle.cpp [llvm-pdbutil] Support PDBs without a DBI stream 2018-08-06 19:35:00 +00:00
DumpOutputStyle.h [llvm-pdbutil] Support PDBs without a DBI stream 2018-08-06 19:35:00 +00:00
ExplainOutputStyle.cpp
ExplainOutputStyle.h
FormatUtil.cpp
FormatUtil.h
InputFile.cpp [llvm-pdbutil] Support PDBs without a DBI stream 2018-08-06 19:35:00 +00:00
InputFile.h
LinePrinter.cpp
LinePrinter.h
llvm-pdbutil.cpp [DebugInfo] Common behavior for error types 2018-08-31 17:41:58 +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 [CodeView] Minimal support for S_UNAMESPACE records 2018-07-31 19:15:50 +00:00
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
PrettyFunctionDumper.h
PrettyTypedefDumper.cpp
PrettyTypedefDumper.h
PrettyTypeDumper.cpp
PrettyTypeDumper.h
PrettyVariableDumper.cpp
PrettyVariableDumper.h
StreamUtil.cpp
StreamUtil.h
YAMLOutputStyle.cpp [llvm-pdbutil] Support PDBs without a DBI stream 2018-08-06 19:35:00 +00:00
YAMLOutputStyle.h