[all-commits] [llvm/llvm-project] fe4668: Verifier: Check ifunc resolver functions return a ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sun Nov 27 09:54:53 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe466887d1bd9a68fa2f82fda3b33b7a619c6082
      https://github.com/llvm/llvm-project/commit/fe466887d1bd9a68fa2f82fda3b33b7a619c6082
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/lib/IR/Verifier.cpp
    M llvm/test/Assembler/opaque-ptr-struct-types.ll
    M llvm/test/Other/force-opaque-ptrs.ll
    M llvm/test/Verifier/ifunc.ll

  Log Message:
  -----------
  Verifier: Check ifunc resolver functions return a pointer

Clang and gcc both reject trying to use ifunc with a function which
doesn't return a pointer type. Some opaque pointer tests were using
this, apparently by accident.




More information about the All-commits mailing list