[all-commits] [llvm/llvm-project] c1f10e: [ELF] SHF_LINK_ORDER: replace Fatal with ErrAlways

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jan 25 18:14:09 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1f10ef0a5c15f1dccf87ff07699055297c715a5
      https://github.com/llvm/llvm-project/commit/c1f10ef0a5c15f1dccf87ff07699055297c715a5
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-01-25 (Sat, 25 Jan 2025)

  Changed paths:
    M lld/ELF/InputFiles.cpp
    M lld/test/ELF/invalid/linkorder-invalid-sec.test

  Log Message:
  -----------
  [ELF] SHF_LINK_ORDER: replace Fatal with ErrAlways

In LLD_IN_TEST=2 mode, when a thread calls Fatal, there will be no
output even if the process exits with code 1. Change the Fatal to
ErrAlways (not-recoverable) as subsequent code assumes SHF_LINK_ORDER
sh_link is correct.



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