[llvm-readobj/elf][test] - Test all core note types properly.
authorGeorgii Rymar <grimar@accesssoftek.com>
Thu, 10 Sep 2020 13:59:06 +0000 (16:59 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Mon, 14 Sep 2020 11:27:12 +0000 (14:27 +0300)
commitf4eb94e1db88cd5ea2ffac502c9d788eedb1e547
tree42982d859c85e2c4263b7b67e48c7734ce275906
parent0b2e0e80d963f3498705a38e8d02eafe541ca9d6
[llvm-readobj/elf][test] - Test all core note types properly.

Currently we don't test all core note types that are defined in
`getCoreNoteTypeName` in ELFDumper.cpp.

Also we don't have a test for an unknown core note type.

This patch fixes it.

Differential revision: https://reviews.llvm.org/D87453
llvm/test/tools/llvm-readobj/ELF/note-core.test