]> granicus.if.org Git - llvm/commit
[yaml2obj] - Change how we handle implicit sections.
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 22 Jul 2019 12:01:52 +0000 (12:01 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 22 Jul 2019 12:01:52 +0000 (12:01 +0000)
commit24629442d4d29c621bc7431b531d2092aaec21b8
treebddc36b2ab2591cb658c594a4cb3e8d10781025f
parentb7d166cebcf619a3691eed3f994384aab3d80fa6
[yaml2obj] - Change how we handle implicit sections.

Instead of having the special list of implicit sections,
that are mixed with the sections read from YAML on late
stages, I just create the placeholders and add them to
the main sections list early.

That allows to significantly simplify the code.

Differential revision: https://reviews.llvm.org/D64999

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366677 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ObjectYAML/ELFYAML.h
tools/yaml2obj/yaml2elf.cpp