[all-commits] [llvm/llvm-project] 913cd1: [llvm][fatlto] Drop any CFI related instrumentatio...

Paul Kirth via All-commits all-commits at lists.llvm.org
Thu Oct 31 12:40:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 913cd11f941bd22617b86048afbcab94be30816a
      https://github.com/llvm/llvm-project/commit/913cd11f941bd22617b86048afbcab94be30816a
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-10-31 (Thu, 31 Oct 2024)

  Changed paths:
    A clang/test/CodeGen/fat-lto-objects-cfi.cpp
    M llvm/lib/Passes/PassBuilderPipelines.cpp

  Log Message:
  -----------
  [llvm][fatlto] Drop any CFI related instrumentation after emitting bitcode (#112788)

We want to support CFI instrumentation for the bitcode section, without
miscompiling the object code portion of a FatLTO object. We can reuse
the existing mechanisms in the LowerTypeTestsPass to do that, by just
adding the pass to the FatLTO pipeline after the EmbedBitcodePass with
the correct options set.

Fixes #112053



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