[all-commits] [llvm/llvm-project] 8e3b5c: ThinLTO: Fix inline assembly references to static ...

Sami Tolvanen via All-commits all-commits at lists.llvm.org
Fri Jul 16 14:34:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e3b5cb39eef462943ed7556469604ce25c07a1d
      https://github.com/llvm/llvm-project/commit/8e3b5cb39eef462943ed7556469604ce25c07a1d
  Author: Sami Tolvanen <samitolvanen at google.com>
  Date:   2021-07-16 (Fri, 16 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
    M llvm/test/ThinLTO/X86/devirt2.ll
    A llvm/test/Transforms/ThinLTOBitcodeWriter/cfi-icall-static-inline-asm.ll
    M llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll
    M llvm/test/Transforms/ThinLTOBitcodeWriter/split-vfunc-internal.ll

  Log Message:
  -----------
  ThinLTO: Fix inline assembly references to static functions with CFI

Create an internal alias with the original name for static functions
that are renamed in promoteInternals to avoid breaking inline
assembly references to them. This version uses module inline assembly
to avoid issues with LowerTypeTestsModule.

Link: https://github.com/ClangBuiltLinux/linux/issues/1354

Reviewed By: nickdesaulniers, pcc

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




More information about the All-commits mailing list