[all-commits] [llvm/llvm-project] edfb2f: [yaml2obj] - Support the "Offset" key for the .dyn...
Georgii Rymar via All-commits
all-commits at lists.llvm.org
Wed Oct 28 04:31:09 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: edfb2f8b235ff72f00375ae2424f7eb98da08234
https://github.com/llvm/llvm-project/commit/edfb2f8b235ff72f00375ae2424f7eb98da08234
Author: Georgii Rymar <grimar at accesssoftek.com>
Date: 2020-10-28 (Wed, 28 Oct 2020)
Changed paths:
M llvm/lib/ObjectYAML/ELFEmitter.cpp
A llvm/test/tools/yaml2obj/ELF/dynsym-section.yaml
R llvm/test/tools/yaml2obj/ELF/explicit-dynsym-no-dynstr.yaml
Log Message:
-----------
[yaml2obj] - Support the "Offset" key for the .dynsym section.
Our "implicit" sections are handled separately from regular ones.
It turns out that the "Offset" key is not handled properly for them.
Perhaps we can generalize handling in one place, but before doing that I'd like
to add support and test cases for each implicit section.
(I need this particular single change to unblock another patch that is already on review,
and I guess doing it independently for each section will be cleaner, see below).
In this patch I've removed `explicit-dynsym-no-dynstr.yaml` to `dynsym-section.yaml`
and added the new test into. In a follow-up we probably might want
to merge 2 another existent `dynsymtab-*.yaml` tests into it too.
Differential revision: https://reviews.llvm.org/D90224
More information about the All-commits
mailing list