Following D50807, and heading towards D50664, this intermediary change does the following:
- Upgrade all custom Error types in llvm/trunk/lib/DebugInfo/ to use the new StringError behavior (D50807).
- Implement std::is_error_code_enum and make_error_code() for DebugInfo error enumerations.
- Renamed GenericError -> PDBError (the file will be renamed in a subsequent commit)
- Updated custom error messages to follow the same formatting: (\w\s*)+\.
- Generic "file not found" (ENOENT) errors are now kept as they are in PDB code. Previously, there used to be a custom enumeration for that purpose.
- Removed a few extraneous LF in log() implementations. Printing LF is a responsability at a higher level, not at the error level.
Please let me know if you wish to split this change any further.