[all-commits] [llvm/llvm-project] 83dc47: Fix -fsplit-lto-unit with ifuncs

Dani via All-commits all-commits at lists.llvm.org
Tue Mar 21 07:36:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83dc4734ba69da95d8c879bb174a1169b3f9e0b8
      https://github.com/llvm/llvm-project/commit/83dc4734ba69da95d8c879bb174a1169b3f9e0b8
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
    A llvm/test/ThinLTO/X86/ifunc_splitlto.ll

  Log Message:
  -----------
  Fix -fsplit-lto-unit with ifuncs

ifuncs can't take part of the whole-program devirtualization so no need them to be copied to the merged module.
The corresponding resolver function also kept out which caused the crash.

Fixes #60962 #57870

Reviewed By: tejohnson

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




More information about the All-commits mailing list