[all-commits] [llvm/llvm-project] b95689: [Linker] Remove nocallback attribute while linking

gulfemsavrun via All-commits all-commits at lists.llvm.org
Thu Dec 22 13:10:52 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b95689933f6d11424ebb4bec5c79c642874785b0
      https://github.com/llvm/llvm-project/commit/b95689933f6d11424ebb4bec5c79c642874785b0
  Author: Gulfem Savrun Yeniceri <gulfem at google.com>
  Date:   2022-12-22 (Thu, 22 Dec 2022)

  Changed paths:
    M llvm/lib/Linker/IRMover.cpp
    A llvm/test/Linker/Inputs/drop-attribute.ll
    A llvm/test/Linker/drop-attribute.ll

  Log Message:
  -----------
  [Linker] Remove nocallback attribute while linking

GCC's leaf attribute is lowered to LLVM IR nocallback attribute.
Clang conservatively treats this function attribute as a hint on the
module level, and removes it while linking modules. More context can
be found in: https://reviews.llvm.org/D131628.

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




More information about the All-commits mailing list