[all-commits] [llvm/llvm-project] 1bfe55: [lld-link] Replace errorHandler() with ctx.e

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Nov 16 18:32:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bfe55aff5f01e81f268f4ba8dbf25c7fcebdc7c
      https://github.com/llvm/llvm-project/commit/1bfe55aff5f01e81f268f4ba8dbf25c7fcebdc7c
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-11-16 (Sat, 16 Nov 2024)

  Changed paths:
    M lld/COFF/Driver.cpp
    M lld/COFF/DriverUtils.cpp
    M lld/COFF/Writer.cpp

  Log Message:
  -----------
  [lld-link] Replace errorHandler() with ctx.e

errorHandler() uses the global state, which should be avoided in
lld/COFF code.



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