llvm-project/llvm/tools/llvm-readobj
Georgii Rymar 3fe01f0e21 [llvm-readobj] - Simplify the code that creates dumpers. NFCI.
We have a few helper functions like the following:
```
std::error_code create*Dumper(...)
```

In fact we do not need or want to use `std::error_code` and the code
can be simpler if we just return `std::unique_ptr<ObjDumper>`.

This patch does this change and refines the signature of `createDumper`
as well.

Differential revision: https://reviews.llvm.org/D86718
2020-08-28 11:36:10 +03:00
..
ARMEHABIPrinter.h [llvm-readobj] - Remove 'error(Error EC)' helper. 2019-08-13 12:07:41 +00:00
ARMWinEHPrinter.cpp [llvm-readobj] Fix arm64 unwind opcode disassembly printing 2020-08-26 09:38:11 +03:00
ARMWinEHPrinter.h [Object] Change getSectionName() to return Expected<StringRef> 2019-05-02 10:32:03 +00:00
CMakeLists.txt [Object][XCOFF] Add an XCOFF dumper for llvm-readobj. 2019-05-03 12:57:07 +00:00
COFFDumper.cpp [llvm-readobj] - Simplify the code that creates dumpers. NFCI. 2020-08-28 11:36:10 +03:00
COFFImportDumper.cpp [Object] Change SymbolicFile::printSymbolName to use Error 2019-05-10 09:59:04 +00:00
DwarfCFIEHPrinter.h [llvm-readobj] Construct relocation-aware DWARFDataExtractor to decode .eh_frame addresses correctly 2020-07-21 08:33:19 -07:00
ELFDumper.cpp [llvm-readobj] - Simplify the code that creates dumpers. NFCI. 2020-08-28 11:36:10 +03:00
Error.cpp
Error.h
LLVMBuild.txt
MachODumper.cpp [llvm-readobj] - Simplify the code that creates dumpers. NFCI. 2020-08-28 11:36:10 +03:00
ObjDumper.cpp [llvm-readelf] Fix emitting incorrect number of spaces in '--hex-dump'. 2020-07-28 09:54:33 +08:00
ObjDumper.h [llvm-readobj] - Simplify the code that creates dumpers. NFCI. 2020-08-28 11:36:10 +03:00
StackMapPrinter.h [StackMaps] Add location size to llvm-readobj -stackmap output 2019-04-13 03:08:45 +00:00
WasmDumper.cpp [llvm-readobj] - Simplify the code that creates dumpers. NFCI. 2020-08-28 11:36:10 +03:00
Win64EHDumper.cpp [llvm-readobj] Fix/improve printing WinEH unwind info for linked PE images 2019-12-11 10:20:34 +02:00
Win64EHDumper.h
WindowsResourceDumper.cpp [llvm-readobj] Print the resource type textually for .res files 2019-08-29 08:59:31 +00:00
WindowsResourceDumper.h
XCOFFDumper.cpp [llvm-readobj] - Simplify the code that creates dumpers. NFCI. 2020-08-28 11:36:10 +03:00
llvm-readobj.cpp [llvm-readobj] - Simplify the code that creates dumpers. NFCI. 2020-08-28 11:36:10 +03:00
llvm-readobj.h [llvm-readobj] - Remove `reportError(std::error_code EC, StringRef Input)` helper. 2019-08-22 08:56:24 +00:00