[all-commits] [llvm/llvm-project] c4b45e: [lld/mac] Don't lose "weak ref" bit when doing LTO

Nico Weber via All-commits all-commits at lists.llvm.org
Fri Dec 17 12:26:50 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4b45eeb44fdc49d1b6199f242082268f8c017d0
      https://github.com/llvm/llvm-project/commit/c4b45eeb44fdc49d1b6199f242082268f8c017d0
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M lld/MachO/InputFiles.cpp
    A lld/test/MachO/lto-weak-ref.ll

  Log Message:
  -----------
  [lld/mac] Don't lose "weak ref" bit when doing LTO

Fixes #52778.

Probably fixes Chromium crashing on startup on macOS 10.15 (and older) systems
when building with LTO, but I haven't verified that yet.

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




More information about the All-commits mailing list