[all-commits] [llvm/llvm-project] 0f35a9: [Object][ELF] Pass Error to WarningHandler

aokblast via All-commits all-commits at lists.llvm.org
Fri Apr 17 01:46:43 PDT 2026


  Branch: refs/heads/users/aokblast/obj/elf/warnhandle
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f35a93cd3f1e368250b52eccaa263a03e65b1ca
      https://github.com/llvm/llvm-project/commit/0f35a93cd3f1e368250b52eccaa263a03e65b1ca
  Author: ShengYi Hung <aokblast at FreeBSD.org>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M llvm/include/llvm/Object/ELF.h
    M llvm/lib/Object/ELF.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.h
    M llvm/tools/llvm-readobj/ELFDumper.cpp
    M llvm/tools/llvm-readobj/ObjDumper.cpp
    M llvm/tools/llvm-readobj/ObjDumper.h
    M llvm/unittests/Object/ELFObjectFileTest.cpp

  Log Message:
  -----------
  [Object][ELF] Pass Error to WarningHandler

Warning consumers may need to handle errors based on their type. Pass
the Error object instead of a string representation to enable this. This
also brings WarningHandler in line with Support/WithColor.h.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list