forked from OSchip/llvm-project
6a7efef4af
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 |
||
---|---|---|
.. | ||
ARM | ||
Inputs | ||
amdgpu-elf-definitions.test | ||
basic.test | ||
bigobj.test | ||
broken-group.test | ||
codeview-inlinees.test | ||
codeview-inlining.test | ||
codeview-label.test | ||
codeview-linetables.test | ||
codeview-merging-anon.test | ||
codeview-merging-cycle.test | ||
codeview-merging-unsorted.test | ||
codeview-merging.test | ||
codeview-types.test | ||
codeview-vftable.test | ||
coff-arm-baserelocs.test | ||
coff-basereloc.test | ||
coff-const-import.test | ||
coff-debug-directory.test | ||
coff-directives.test | ||
coff-exports-implib.test | ||
coff-exports.test | ||
coff-file-sections-reading.test | ||
coff-load-config.test | ||
coff-needed-libs.test | ||
coff-non-null-terminated-file.test | ||
coff-resources.test | ||
coff-zero-string-table.test | ||
cxx-cli-aux.test | ||
dynamic.test | ||
elf-dtflags.test | ||
elf-gnuhash.test | ||
elf-groups.test | ||
elf-hash-histogram.test | ||
elf-linker-options.ll | ||
elf-packed-relocs-empty.s | ||
elf-packed-relocs-error1.s | ||
elf-packed-relocs-error2.s | ||
elf-packed-relocs-error3.s | ||
elf-packed-relocs-error4.s | ||
elf-packed-relocs-error5.s | ||
elf-packed-relocs.test | ||
elf-relr-relocs.test | ||
elf-sec-compressed.test | ||
elf-sec-flags.test | ||
elf-versioninfo.test | ||
file-headers.test | ||
gnu-file-headers.test | ||
gnu-notes.test | ||
gnu-phdrs.test | ||
gnu-relocations.test | ||
gnu-sections.test | ||
gnu-symbols.test | ||
imports.test | ||
macho-needed-libs.test | ||
macho-universal-x86_64.i386.test | ||
many-sections.s | ||
mips-abiflags.test | ||
mips-got-overlapped.test | ||
mips-got.test | ||
mips-options-sec.test | ||
mips-options.test | ||
mips-plt.test | ||
mips-reginfo.test | ||
mips-rld-map-rel.test | ||
mips-st-other.test | ||
note-gnu-property.s | ||
note-gnu-property2.s | ||
peplus.test | ||
ppc64-glink.test | ||
print-hex.test | ||
print-section.test | ||
program-headers.test | ||
reloc-types.test | ||
relocations.test | ||
res-resources.test | ||
rpath.test | ||
sections-ext.test | ||
sections.test | ||
symbols.test | ||
unwind.test | ||
wasm-invalid.test |