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

Sami Tolvanen via All-commits all-commits at lists.llvm.org
Wed Jun 23 11:10:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3d24b45b8f808ec66213e134c4ceda5202fbe31
      https://github.com/llvm/llvm-project/commit/e3d24b45b8f808ec66213e134c4ceda5202fbe31
  Author: Sami Tolvanen <samitolvanen at google.com>
  Date:   2021-06-23 (Wed, 23 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
    A llvm/test/Transforms/ThinLTOBitcodeWriter/cfi-icall-static-inline-asm.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 relands commit 4474958d3a97dede2caa0920f7c4a4dc7aac57d3
with a fix to a use-of-uninitialized-value error that tripped
MemorySanitizer.

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