llvm-project/llvm/tools/llvm-objdump
George Rimar f0f38d9b9d [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 Fix debug build by adding missing dependencies on libBinaryFormat 2018-05-15 00:46:43 +00:00
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
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
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