[all-commits] [llvm/llvm-project] 0054c4: [llvm-nm/objdump/size] Add tests for dumping symbo...

Xing GUO via All-commits all-commits at lists.llvm.org
Wed May 6 01:58:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0054c46095eea7a10b9af8f5006160023b95046d
      https://github.com/llvm/llvm-project/commit/0054c46095eea7a10b9af8f5006160023b95046d
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-05-06 (Wed, 06 May 2020)

  Changed paths:
    A llvm/test/tools/llvm-nm/invalid-symbol-table-size.test
    A llvm/test/tools/llvm-objdump/invalid-symbol-table-size.test
    A llvm/test/tools/llvm-size/invalid-symbol-table-size.test
    M llvm/tools/llvm-nm/llvm-nm.cpp
    M llvm/tools/llvm-size/llvm-size.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list