[PATCH] D109090: [PPC64] fix/workaround runtime crash on FreeBSD with llvm12 and later

Ed Maste via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 16 12:24:31 PDT 2021


emaste added a comment.

It looks like this worked prior to 2518433f861f <https://reviews.llvm.org/rG2518433f861fcb877d0a7bdd9aec1aec1f77505a> because `shouldAssumeDSOLocal` has this case:

  // PPC has no copy relocations and cannot use a plt entry as a symbol address.
  llvm::Triple::ArchType Arch = TT.getArch();
  if (Arch == llvm::Triple::ppc || Arch == llvm::Triple::ppc64 ||
      Arch == llvm::Triple::ppc64le)
    return false;

(later changed to `TT.isPPC64()` but same effect)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109090/new/

https://reviews.llvm.org/D109090



More information about the llvm-commits mailing list