[all-commits] [llvm/llvm-project] fcb6b1: [lld] Use context-aware outs() and errs()

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


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

  Changed paths:
    M lld/COFF/DriverUtils.cpp
    M lld/Common/ErrorHandler.cpp
    M lld/MachO/Driver.cpp
    M lld/MachO/Driver.h
    M lld/MachO/DriverUtils.cpp
    M lld/include/lld/Common/ErrorHandler.h
    M lld/include/lld/Common/LLVM.h
    M lld/wasm/Driver.cpp

  Log Message:
  -----------
  [lld] Use context-aware outs() and errs()

For COFF and ELF that are mostly free of global states, lld::errs() and
lld::outs() should not be used. This migration change allows us to
remove lld::errs, which uses the global errorHandler().



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