1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/tools/obj2yaml
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
..
CMakeLists.txt Fix debug build by adding missing dependencies on libBinaryFormat 2018-05-15 00:46:43 +00:00
coff2yaml.cpp obj2yaml: Correctly round-trip default alignment. 2018-05-04 16:28:41 +00:00
dwarf2yaml.cpp Add missing file from r313884. 2017-09-21 15:32:05 +00:00
elf2yaml.cpp Instead of ELFFile<ELFT>::Type, use ELFT::Type. NFC. 2018-01-12 02:28:31 +00:00
Error.cpp [DebugInfo] Common behavior for error types 2018-08-31 17:41:58 +00:00
Error.h Remove some 'const' specifiers that do nothing but prevent moving the argument. 2016-05-29 10:46:35 +00:00
macho2yaml.cpp Use delegation instead of inheritance. 2017-07-19 22:27:28 +00:00
obj2yaml.cpp Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
obj2yaml.h Use delegation instead of inheritance. 2017-07-19 22:27:28 +00:00
wasm2yaml.cpp [WebAssembly] Write DWARF data into wasm object file 2018-04-26 19:27:28 +00:00