Change ELF tools to allow multiple sections per file.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 28 May 2019 20:01:25 +0000 (20:01 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 28 May 2019 20:01:25 +0000 (20:01 +0000)
commit0dac476072df69a4136f2f82506c27232db4743c
tree123be1ec5f468dc0731252d09e576f6e02882d6c
parent5fc1dfa784dcfeda6ddd4436543e0db119afdf99
Change ELF tools to allow multiple sections per file.

This is how multi-partition combined output files are going to look. If we
see multiple sections, the tools will just read the first one.

Differential Revision: https://reviews.llvm.org/D62349

llvm-svn: 361869
llvm/include/llvm/Object/ELFObjectFile.h
llvm/test/Object/multiple-sections.yaml [new file with mode: 0644]
llvm/tools/llvm-readobj/ELFDumper.cpp