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

Sami Tolvanen via All-commits all-commits at lists.llvm.org
Tue Jun 22 10:02:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4474958d3a97dede2caa0920f7c4a4dc7aac57d3
      https://github.com/llvm/llvm-project/commit/4474958d3a97dede2caa0920f7c4a4dc7aac57d3
  Author: Sami Tolvanen <samitolvanen at google.com>
  Date:   2021-06-22 (Tue, 22 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.

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

Reviewed By: pcc

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




More information about the All-commits mailing list