[all-commits] [llvm/llvm-project] 43c85a: ThinLTOBitcodeWriter: Split modules with __cfi_che...

Peter Collingbourne via All-commits all-commits at lists.llvm.org
Thu Aug 28 19:14:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43c85afce9c25141de79da6731b1d5f8bb2491b1
      https://github.com/llvm/llvm-project/commit/43c85afce9c25141de79da6731b1d5f8bb2491b1
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
    A llvm/test/Transforms/ThinLTOBitcodeWriter/cfi-check-no-metadata.ll

  Log Message:
  -----------
  ThinLTOBitcodeWriter: Split modules with __cfi_check and no type metadata.

Eli Friedman found a case that was not handled correctly by #154833 where
we failed to split the module if it contained a __cfi_check function but
no type metadata. Handle this case correctly by checking for __cfi_check
when deciding whether to split.

Reviewers: teresajohnson, efriedma-quic

Reviewed By: efriedma-quic

Pull Request: https://github.com/llvm/llvm-project/pull/155930



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