llvm-project/llvm/test/DebugInfo/PDB
Alexandre Ganea 6a7efef4af [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
..
DIA [codeview] Use push_macro to avoid conflicts instead of a prefix 2018-08-16 17:34:31 +00:00
Inputs Teach llvm-pdbutil to dump types from object files. 2017-12-05 23:58:18 +00:00
Native Enable llvm-pdbutil to list enumerations using native PDB reader 2017-08-04 22:37:58 +00:00
dbi-bytes.test
dump-fpm.test
every-type.test
just-my-code.test [llvm-pdbutil] Add support for dumping detailed module stats. 2017-08-21 14:53:25 +00:00
module-bytes.test
module-stats.test [llvm-pdbutil] Print detailed S_UDT stats. 2017-08-31 20:43:22 +00:00
obj-globalhash.test Resubmit [pdb] Change /DEBUG:GHASH to emit 8 byte hashes." 2018-05-17 22:55:15 +00:00
pdb-invalid-type.test [DebugInfo] Common behavior for error types 2018-08-31 17:41:58 +00:00
pdb-longname-truncation.test
pdb-minimal-construct.test
pdb-unknown-symbol.test
pdb-yaml-symbols.test
pdbdump-debug-subsections.test
pdbdump-globals-empty.test [PDB] Handle an empty globals hash table with no buckets 2017-10-27 00:45:51 +00:00
pdbdump-headers.test [DebugInfo] Common behavior for error types 2018-08-31 17:41:58 +00:00
pdbdump-merge-ids-and-types.test
pdbdump-mergeids.test
pdbdump-mergetypes.test
pdbdump-objfilename.yaml [llvm] Get rid of "%T" expansions 2017-08-15 20:29:24 +00:00
pdbdump-raw-blocks.test
pdbdump-raw-bytes.test
pdbdump-raw-stream.test
pdbdump-readwrite.test
pdbdump-source-names.test [llvm] Get rid of "%T" expansions 2017-08-15 20:29:24 +00:00
pdbdump-write.test
pdbdump-yaml-types.test
pdbdump-yaml.test
section-headers.test [llvm-pdbutil] Dump image section headers. 2017-08-04 20:02:38 +00:00
tpi-bytes.test
udt-stats.test [llvm-pdbutil] Print detailed S_UDT stats. 2017-08-31 20:43:22 +00:00
using-namespace.test [CodeView] Minimal support for S_UNAMESPACE records 2018-07-31 19:15:50 +00:00
write-fpm.test [MSF] Default to FPM2, and always mark FPM pages allocated. 2018-03-29 18:34:15 +00:00