1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/tools/obj2yaml
Georgii Rymar edd888ac89 [obj2yaml] - Refactor how we dump sections. NFCI.
This is a NFC splitted from D75342.

Previously obj2yaml never dumped a normal SHT_NULL section (i.e. when it is just zeroed)
or non-allocatable SHT_STRTAB/SHT_SYMTAB/SHT_DYNSYM sections.

This patch does not change the output, but it changes the logic so that we now dump these
sections, and them remove them later. It allows us to create and work with our internal representation
of sections, i.e. to work with the vector of Chunks, what looks cleaner.

It is used by D75342 and also should help us to support dumping a content that does not
belong to a section (i.e. to dump some data as `Fill` chunks).

Differential revision: https://reviews.llvm.org/D76684
2020-03-26 14:04:07 +03:00
..
CMakeLists.txt [XCOFF] Add functionality for parsing AIX XCOFF object file headers 2019-04-04 00:53:21 +00:00
coff2yaml.cpp [Object/COFF.h] - Stop returning std::error_code in a few methods. NFCI. 2019-08-19 14:32:23 +00:00
dwarf2yaml.cpp Use DWARFDataExtractor::getInitialLength in debug_aranges 2020-03-04 13:01:07 +01:00
elf2yaml.cpp [obj2yaml] - Refactor how we dump sections. NFCI. 2020-03-26 14:04:07 +03:00
Error.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Error.h Obj2YamlError - fix uninitialized variable warning. NFCI. 2019-11-08 16:26:20 +00:00
macho2yaml.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
minidump2yaml.cpp Add minidump support to obj2yaml 2019-04-02 11:58:37 +00:00
obj2yaml.cpp [DWARF] Return Error from DWARFDebugArangeSet::extract(). 2020-01-23 12:41:05 +07:00
obj2yaml.h [DWARF] Return Error from DWARFDebugArangeSet::extract(). 2020-01-23 12:41:05 +07:00
wasm2yaml.cpp [WebAssembly] Move event section before global section 2020-03-25 11:49:03 -07:00
xcoff2yaml.cpp [Object][XCOFF] Add support for 64-bit file header and section header dumping. 2019-07-09 18:09:11 +00:00