]> granicus.if.org Git - llvm/commit
[yaml2obj] - Report when unknown section is referenced from program header declaratio...
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 1 May 2019 09:45:55 +0000 (09:45 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 1 May 2019 09:45:55 +0000 (09:45 +0000)
commit7845a5f0b1c72853a5e57663885fbc474d34ab45
tree9b59366bb409c2408ce9a3c7ea946344bfdf5b51
parentfceaf762c0ffda894ef96bb6dc0e223498275f3e
[yaml2obj] - Report when unknown section is referenced from program header declaration block.

Previously we did not report this.
Also this removes multiple lookups in the map
what cleanups the code.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359663 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objcopy/ELF/no-build-id.test
test/tools/yaml2obj/program-header.yaml
tools/yaml2obj/yaml2elf.cpp