llvm-project/llvm/test/ObjectYAML/wasm
George Rimar 8501102727 [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers.
This is a continuation of the YAML library error reporting
refactoring/improvement and the idea by itself was mentioned
in the following thread:
https://reviews.llvm.org/D67182?id=218714#inline-603404

This performs a cleanup of all object emitters in the library.
It allows using the custom one provided by the caller.

One of the nice things is that each tool can now print its tool name,
e.g: "yaml2obj: error: <text>"

Also, the code became a bit simpler.

Differential revision: https://reviews.llvm.org/D67445

llvm-svn: 371865
2019-09-13 16:00:16 +00:00
..
code_section.yaml [WebAssembly] Rename relocations from R_WEBASSEMBLY_ to R_WASM_ 2019-02-04 17:28:46 +00:00
custom_section.yaml
data_section.yaml [WebAssembly] Update MC for bulk memory 2019-02-19 22:56:19 +00:00
dylink_section.yaml [WebAssembly] Update dylink section parsing 2018-12-12 23:40:58 +00:00
elem_section.yaml [WebAssembly] Massive instruction renaming 2019-01-08 06:25:55 +00:00
event_section.yaml [WebAssembly] Rename relocations from R_WEBASSEMBLY_ to R_WASM_ 2019-02-04 17:28:46 +00:00
export_section.yaml
function_section.yaml
global_section.yaml
header.yaml
header_invalid_version.yaml
import_memory_shared.yaml
import_section.yaml [WebAssembly] Massive instruction renaming 2019-01-08 06:25:55 +00:00
invalid_export.yaml
invalid_global_weak.yaml [WebAssembly] Store section alignment as a power of 2 2019-01-16 01:34:48 +00:00
invalid_section_order.yaml [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers. 2019-09-13 16:00:16 +00:00
linking_section.yaml [WebAssembly] Update MC for bulk memory 2019-02-19 22:56:19 +00:00
memory_section.yaml
name_section.yaml
producers_section.yaml [WebAssembly] Parse llvm.ident into producers section 2019-01-17 02:29:55 +00:00
producers_section_repeat.yaml [WebAssembly] Parse llvm.ident into producers section 2019-01-17 02:29:55 +00:00
start_section.yaml
table_section.yaml [WebAssembly] Massive instruction renaming 2019-01-08 06:25:55 +00:00
target-features-section.yaml [WebAssembly] Target features section 2019-03-20 20:26:45 +00:00
type_section.yaml
weak_symbols.yaml [WebAssembly] Store section alignment as a power of 2 2019-01-16 01:34:48 +00:00