[all-commits] [llvm/llvm-project] 7ca7d8: [Verifier] Restore defined-resolver verification f...

Itay Bookstein via All-commits all-commits at lists.llvm.org
Sat Feb 26 02:56:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ca7d8126d4e47b48dbeb1bd3efd462c5bd889b1
      https://github.com/llvm/llvm-project/commit/7ca7d8126d4e47b48dbeb1bd3efd462c5bd889b1
  Author: Itay Bookstein <ibookstein at gmail.com>
  Date:   2022-02-26 (Sat, 26 Feb 2022)

  Changed paths:
    M llvm/include/llvm/IR/GlobalIFunc.h
    M llvm/lib/IR/Verifier.cpp
    A llvm/test/Verifier/ifunc.ll

  Log Message:
  -----------
  [Verifier] Restore defined-resolver verification for IFuncs

Now that clang no longer emits GlobalIFunc-s with a
declaration for a resolver, we can restore that check.
In addition, add a linkage check like the one we have
on GlobalAlias-es, and a Verifier test for ifuncs.

Signed-off-by: Itay Bookstein <ibookstein at gmail.com>

Reviewed By: MaskRay

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




More information about the All-commits mailing list