In D83482 we agreed to name e_* fields that are used for overriding
values (like e_phoff) as EPh* (e.g. EPhOff).
Currently we have a set of e_sh* fields that are named inconsistently
with this rule. This patch renames all of them.
Paths
| Differential D83766
[yaml2obj] - Rename FileHeader::SH* fields. ClosedPublic Authored by grimar on Jul 14 2020, 6:03 AM.
Details Summary In D83482 we agreed to name e_* fields that are used for overriding Currently we have a set of e_sh* fields that are named inconsistently
Diff Detail Event TimelineComment Actions LGTM, with request.
This revision is now accepted and ready to land.Jul 14 2020, 6:10 AM Comment Actions (Honestly if we could start over, I would hope we just use lower-case elf.h variable names, e.g. e_phoff) Closed by commit rG7a587ca93200: [yaml2obj] - Rename FileHeader::SH* fields. (authored by grimar). · Explain WhyJul 15 2020, 2:48 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 277800 llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/Object/invalid.test
llvm/test/tools/llvm-readobj/ELF/dynamic-reloc-no-section-headers.test
llvm/test/tools/llvm-readobj/ELF/gnu-notes.test
llvm/test/tools/llvm-readobj/ELF/hash-table.test
llvm/test/tools/llvm-readobj/ELF/invalid-shstrndx.test
llvm/test/tools/llvm-readobj/ELF/many-sections.s
llvm/test/tools/llvm-readobj/ELF/sections-no-section-header-string-table.test
llvm/test/tools/llvm-readobj/ELF/symbols.test
llvm/test/tools/yaml2obj/ELF/header-sh-fields.yaml
llvm/test/tools/yaml2obj/ELF/section-headers.yaml
llvm/tools/obj2yaml/elf2yaml.cpp
|
This assert extension might better belong in a separate patch, to avoid confusing issues.