This implements the new "Excluded" key that can be used
to exclude entries from section header:
SectionHeaderTable: Sections: ... Excluded: - Name: .foo
Paths
| Differential D81005
[yaml2obj] - Add a way to exclude specified sections from the section header. ClosedPublic Authored by grimar on Jun 2 2020, 7:03 AM.
Details Summary This implements the new "Excluded" key that can be used SectionHeaderTable: Sections: ... Excluded: - Name: .foo
Diff Detail
Event TimelineComment Actions Perhaps worth an additional test case for excluded sections linking to other excluded sections.
grimar marked 31 inline comments as done. Comment Actions
This revision is now accepted and ready to land.Jun 4 2020, 1:37 AM Closed by commit rGc781e7370e9b: [yaml2obj] - Add a way to exclude specified sections from the section header. (authored by grimar). · Explain WhyJun 4 2020, 4:18 AM This revision was automatically updated to reflect the committed changes. grimar marked 2 inline comments as done.
Revision Contents
Diff 268416 llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/yaml2obj/ELF/section-headers-exclude.yaml
llvm/test/tools/yaml2obj/ELF/section-headers.yaml
|
I might have missed something, but what's the benefit of making this a SetVector rather than some form of unordered_map?