HomePhabricator

[llvm-nm/objdump/size] Add tests for dumping symbol tables with invalid sh_size.

Authored by Higuoxing on May 6 2020, 2:00 AM.

Description

[llvm-nm/objdump/size] Add tests for dumping symbol tables with invalid sh_size.

This change adds tests for llvm-nm, llvm-objdump and llvm-size when dumping symbol tables with invalid sh_size (sh_size % sizeof(Elf_Sym) != 0).

Reviewed By: jhenderson, MaskRay

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