This adds parsing and dumping support for GNU hash sections.
They are described nicely here: https://blogs.oracle.com/solaris/gnu-hash-elf-sections-v2
Depends on https://reviews.llvm.org/D69558
Paths
| Differential D69399
[yaml2obj/obj2yaml] - Add support for SHT_GNU_HASH section. ClosedPublic Authored by grimar on Oct 24 2019, 10:49 AM.
Details Summary This adds parsing and dumping support for GNU hash sections. Depends on https://reviews.llvm.org/D69558
Diff Detail Event TimelineComment Actions The changes related to the LLVM_YAML_IS_SEQUENCE_VECTOR seems unrelated to the hash table stuff. Could it be a separate prerequisite change?
grimar marked 23 inline comments as done. Comment Actions
This revision is now accepted and ready to land.Oct 30 2019, 5:35 AM Closed by commit rGa7aee6c47a1b: [yaml2obj/obj2yaml] - Add support for SHT_GNU_HASH section. (authored by georgerim, committed by grimar). · Explain WhyOct 31 2019, 2:39 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 226299 llvm/include/llvm/ObjectYAML/DWARFYAML.h
llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/include/llvm/Support/YAMLTraits.h
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml
llvm/test/ObjectYAML/MachO/DWARF2-AddrSize8-FormValues.yaml
llvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml
llvm/test/ObjectYAML/MachO/bind_opcode.yaml
llvm/test/ObjectYAML/MachO/bogus_load_command.yaml
llvm/test/ObjectYAML/MachO/lazy_bind_opcode.yaml
llvm/test/ObjectYAML/MachO/out_of_order_linkedit.yaml
llvm/test/ObjectYAML/MachO/rebase_opcode.yaml
llvm/test/ObjectYAML/MachO/weak_bind_opcode.yaml
llvm/test/tools/llvm-readobj/elf-section-types.test
llvm/test/tools/obj2yaml/elf-gnu-hash-section.yaml
llvm/test/tools/yaml2obj/elf-gnu-hash-section.yaml
llvm/tools/obj2yaml/elf2yaml.cpp
llvm/unittests/Support/YAMLIOTest.cpp
|
from the -> from a