1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/tools/llvm-objdump
George Rimar 79796ed688 [llvm-objdump] - Cleanup the error reporting.
The error reporting function are not consistent.

Before this change:

* They had inconsistent naming (e.g. 'error' vs 'report_error').
* Some of them reported the object name, others - dont.
* Some of them accepted the case when there was no error. (i.e. error code or Error had a success value).

This patch tries to cleanup it a bit.

It also renames report_error -> reportError, report_warning -> reportWarning
and removes a full stop from messages.

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

llvm-svn: 369515
2019-08-21 11:07:31 +00:00
..
CMakeLists.txt
COFFDump.cpp [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
ELFDump.cpp [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
llvm-objdump.cpp [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
llvm-objdump.h [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MachODump.cpp [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
WasmDump.cpp [llvm-objdump] Wrap things in namespace llvm 2019-04-15 15:31:42 +00:00