[all-commits] [llvm/llvm-project] 97b215: [llvm-readobj][ELF] Remove redundant error in repo...

aokblast via All-commits all-commits at lists.llvm.org
Thu Apr 16 06:54:35 PDT 2026


  Branch: refs/heads/users/aokblast/readelf/elfdumper/fix_err
  Home:   https://github.com/llvm/llvm-project
  Commit: 97b215ee87bc6682ae8c1c321d568bc71b16ba76
      https://github.com/llvm/llvm-project/commit/97b215ee87bc6682ae8c1c321d568bc71b16ba76
  Author: ShengYi Hung <aokblast at FreeBSD.org>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj][ELF] Remove redundant error in reportWarning

If MapOrError contains no error, calling takeError() results in
undefined behavior and may crash the program.



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