[all-commits] [llvm/llvm-project] 3edef6: [llvm-objdump] Change errors to warnings for symbo...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Jul 11 08:38:17 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3edef604cfbcdf9a658213de1340e4b6b63eb9d3
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-07-11 (Tue, 11 Jul 2023)

  Changed paths:
    A llvm/test/tools/llvm-objdump/ELF/section-symbols.test
    M llvm/test/tools/llvm-objdump/invalid-symbol-table-size.test
    M llvm/tools/llvm-objdump/MachODump.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.h

  Log Message:
  [llvm-objdump] Change errors to warnings for symbol section name dumping

Port D69671 (llvm-readobj) to llvm-objdump. Add a class llvm::objdump::Dumper
and move some free functions into Dumper so that they can call

Warnings seems preferable in these cases as the issue is localized and we can
continue dumping other information.

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

More information about the All-commits mailing list