[all-commits] [llvm/llvm-project] d9ab62: [lld-macho] Initialize LTO backend with diagnostic...

Jez Ng via All-commits all-commits at lists.llvm.org
Sat Sep 4 14:40:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9ab62ca3d292c69d69701541b85efba0f195264
      https://github.com/llvm/llvm-project/commit/d9ab62ca3d292c69d69701541b85efba0f195264
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-09-04 (Sat, 04 Sep 2021)

  Changed paths:
    M lld/MachO/LTO.cpp
    A lld/test/MachO/lto-irmover-warning.ll

  Log Message:
  -----------
  [lld-macho] Initialize LTO backend with diagnostic handler

Failing to do so results in `std::bad_function_call` being
thrown when a pass tries to emit a diagnostic.

I've copied the relevant test over from LLD-ELF's test suite.

Reviewed By: #lld-macho, thevinster

Differential Revision: https://reviews.llvm.org/D109274




More information about the All-commits mailing list