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

Sami Tolvanen via All-commits all-commits at lists.llvm.org
Tue Aug 24 18:49:48 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 1828e57eb58685a6a7f6d4f4f698dfebf98ef789
      https://github.com/llvm/llvm-project/commit/1828e57eb58685a6a7f6d4f4f698dfebf98ef789
  Author: Sami Tolvanen <samitolvanen at google.com>
  Date:   2021-08-24 (Tue, 24 Aug 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.

Relands 700d07f8ce6f2879610fd6b6968b05c6f17bb915 with -msvc targets
fixed.

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

Reviewed By: nickdesaulniers, pcc

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

(cherry picked from commit 7ce1c4da7726577986535cb7766d782f325145fe)




More information about the All-commits mailing list