1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/tools/llvm-readobj
Georgii Rymar f23c466d76 [llvm-readobj] - Print "Unknown" when a program header is unknown.
Currently, when a program header type is unknown, we dont print anything:

```
ProgramHeader {
  Type:  (0x60000000)
```

With this patch the output will be:

```
ProgramHeader {
  Type: Unknown (0x60000000)
```

It was discussed in D85526 and consistent with what we print for
'--sections' already, e.g.:

```
Section {
  Name: .sec
  Type: Unknown (0x7FFFFFFF)
}
```

Differential revision: https://reviews.llvm.org/D86213
2020-08-25 13:05:17 +03:00
..
ARMEHABIPrinter.h
ARMWinEHPrinter.cpp
ARMWinEHPrinter.h
CMakeLists.txt
COFFDumper.cpp [llvm-readobj/elf] - Add a testing for --stackmap and refine the implementation. 2020-08-05 13:09:04 +03:00
COFFImportDumper.cpp
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] - Print "Unknown" when a program header is unknown. 2020-08-25 13:05:17 +03:00
Error.cpp
Error.h
llvm-readobj.cpp [llvm-readobj/elf][test] - Refine --headers testing and the related code comment. 2020-08-13 13:52:49 +03:00
llvm-readobj.h
LLVMBuild.txt
MachODumper.cpp [llvm-libtool-darwin] Add constant CPU_SUBTYPE_ARM64_V8 2020-08-07 14:09:27 -07: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-readelf] - Split GNUStyle<ELFT>::printHashHistogram. NFC. 2020-05-27 13:59:20 +03:00
StackMapPrinter.h
WasmDumper.cpp [WebAssembly] Adding 64-bit version of R_WASM_MEMORY_ADDR_* relocs 2020-06-15 10:07:42 -07:00
Win64EHDumper.cpp
Win64EHDumper.h
WindowsResourceDumper.cpp
WindowsResourceDumper.h
XCOFFDumper.cpp