[PATCH] D119773: [PowerPC][LLD] Fix linking weak hidden callees.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 14 14:21:07 PST 2022


MaskRay added a comment.

This fixes an assertion failure `assert(sym->getVA());` in `PPC64LongBranchTargetSection::writeTo` for a `-no-pie` link.

I am still experimenting and think that we can actually simplify the condition to

  if (s.isUndefined())

Let me figure out what tests need to be adjusted.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119773



More information about the llvm-commits mailing list