[all-commits] [llvm/llvm-project] b4d2e5: [LLVM] Use `reportFatalUsageError` for LTO usage e...

bd1976bris via All-commits all-commits at lists.llvm.org
Wed May 21 15:22:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4d2e502e06fb96a124ef4c99668531a4c6abd3d
      https://github.com/llvm/llvm-project/commit/b4d2e502e06fb96a124ef4c99668531a4c6abd3d
  Author: bd1976bris <bd1976llvm at gmail.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M lld/test/COFF/lto-cache-errors.ll
    M lld/test/ELF/lto/ltopasses-custom.ll
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/test/tools/llvm-lto2/X86/pipeline.ll

  Log Message:
  -----------
  [LLVM] Use `reportFatalUsageError` for LTO usage errors (#140955)

Usage errors in `LTOBackend.cpp` were previously, misleadingly, reported
as internal crashes.

This PR updates `LTOBackend.cpp` to use `reportFatalUsageError` for
reporting usage-related issues.

LLVM Issue: https://github.com/llvm/llvm-project/issues/140953
Internal Tracker: TOOLCHAIN-17744



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