1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/tools/llvm-readobj
Georgii Rymar 316631ef58 [libObject,llvm-readelf] - Stop describing a section/segment in notes_begin().
`notes_begin()` is used for iterating over notes. This API in some cases might print
section type and index. At the same time during iterating, the `Elf_Note_Iterator`
might omit it as it doesn't have this info.

Because of above we might have the redundant duplication of information in warnings:
(See D92021).

```
warning: '[[FILE]]': unable to read notes from the SHT_NOTE section with index 1: SHT_NOTE section [index 1] has invalid offset (0x40) or size (0xffff0000)
```

This change stops reporting section index/type in Object/ELF.h/notes_begin().
(FTR, this was introduced by me for llvm-readobj in D64470).
Instead we can describe sections/program headers on the caller side.

Differential revision: https://reviews.llvm.org/D92081
2020-11-25 12:51:40 +03:00
..
ARMEHABIPrinter.h [llvm-readobj][ARM] - Improve support of printing unwind (-u) information for non-relocatable objects. 2020-09-30 11:43:34 +03:00
ARMWinEHPrinter.cpp [llvm-readobj] [ARMWinEH] Print ARM64 packed unwind info 2020-09-15 08:50:02 +03:00
ARMWinEHPrinter.h [llvm-readobj] [ARMWinEH] Print ARM64 packed unwind info 2020-09-15 08:50:02 +03:00
CMakeLists.txt [llvm-readobj] - Remove Error.cpp,.h and drop dependencies in the code. 2020-09-01 16:46:17 +03:00
COFFDumper.cpp [CFGuard] Add address-taken IAT tables and delay-load support 2020-11-17 18:24:45 -08:00
COFFImportDumper.cpp [Object] Change SymbolicFile::printSymbolName to use Error 2019-05-10 09:59:04 +00:00
DwarfCFIEHPrinter.h llvm-dwarfdump: Support verbose printing DW_OP_convert to print the CU local offset before the resolved absolute offset 2020-10-23 18:50:15 -07:00
ELFDumper.cpp [libObject,llvm-readelf] - Stop describing a section/segment in notes_begin(). 2020-11-25 12:51:40 +03:00
llvm-readobj.cpp Recommit: [llvm-readelf/obj] - Allow dumping of ELF header even if some elements are corrupt. 2020-11-09 12:53:53 +03:00
llvm-readobj.h [llvm-readobj] - Remove reportError(std::error_code EC, StringRef Input) helper. 2019-08-22 08:56:24 +00:00
MachODumper.cpp [llvm-readobj] Don't print out section names for STABS symbols 2020-10-12 18:55:40 -07:00
ObjDumper.cpp [llvm-readelf/obj] - Cleanup the code. NFCI. 2020-09-23 12:58:22 +03:00
ObjDumper.h Recommit: [llvm-readelf/obj] - Allow dumping of ELF header even if some elements are corrupt. 2020-11-09 12:53:53 +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] - Remove Error.cpp,.h and drop dependencies in the code. 2020-09-01 16:46:17 +03:00
Win64EHDumper.cpp [llvm-readobj] - Remove Error.cpp,.h and drop dependencies in the code. 2020-09-01 16:46:17 +03:00
Win64EHDumper.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
WindowsResourceDumper.cpp [llvm-readobj] - Remove Error.cpp,.h and drop dependencies in the code. 2020-09-01 16:46:17 +03:00
WindowsResourceDumper.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
XCOFFDumper.cpp [llvm-readobj] - Remove Error.cpp,.h and drop dependencies in the code. 2020-09-01 16:46:17 +03:00