1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/include/llvm/DebugInfo/PDB/DIA
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
..
DIADataStream.h
DIAEnumDebugStreams.h
DIAEnumInjectedSources.h [PDB] Support dumping injected sources via the DIA reader. 2018-03-13 17:46:06 +00:00
DIAEnumLineNumbers.h
DIAEnumSectionContribs.h [PDB] Remove dead code and run clang format; NFC 2018-04-10 15:25:04 +00:00
DIAEnumSourceFiles.h
DIAEnumSymbols.h
DIAEnumTables.h
DIAError.h [DebugInfo] Common behavior for error types 2018-08-31 17:41:58 +00:00
DIAInjectedSource.h [PDB] Remove unused private variable, re-applying r327900 after relanding more natvis changes[4~ 2018-03-21 21:47:26 +00:00
DIALineNumber.h
DIARawSymbol.h [DebugInfoPDB] Add DIA implementation for getSrcLineOnTypeDefn 2018-03-07 00:33:09 +00:00
DIASectionContrib.h [PDB] Remove dead code and run clang format; NFC 2018-04-10 15:25:04 +00:00
DIASession.h [DebugInfoPDB] Add DIA implementations of findSymbolByRVA and findSymbolByAddr 2018-04-10 17:33:18 +00:00
DIASourceFile.h
DIASupport.h Remove DEBUG macro. 2018-05-23 15:09:29 +00:00
DIATable.h
DIAUtils.h [PDB] Support dumping injected sources via the DIA reader. 2018-03-13 17:46:06 +00:00