[all-commits] [llvm/llvm-project] 0c3a02: Function multi-versioning: disable ifunc for ELF t...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Aug 14 09:00:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c3a02b8c09bb408a74a638a263e51d67c92ca74
      https://github.com/llvm/llvm-project/commit/0c3a02b8c09bb408a74a638a263e51d67c92ca74
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M clang/include/clang/Basic/TargetInfo.h
    M clang/test/CodeGen/attr-target-mv-va-args.c
    M clang/test/CodeGen/unique-internal-linkage-names.cpp

  Log Message:
  -----------
  Function multi-versioning: disable ifunc for ELF targets other than glibc/Android/FreeBSD

Generalize D127933 (Fuchsia special case) to other ELF targets. Ensure
that musl, NetBSD, OpenBSD, etc do not get ifunc codegen which is
unsupported in their rtld.

Link: https://discourse.llvm.org/t/does-ifunc-use-from-llvm-require-os-support/67628
Close: https://github.com/llvm/llvm-project/issues/64631




More information about the All-commits mailing list