[PATCH] D119787: [ELF][PPC64] Fix assertion failure for branches to hidden undefined weak for -no-pie

LiqinWeng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 18 19:51:26 PDT 2022


Miss_Grape added inline comments.
Herald added a subscriber: StephenFan.
Herald added a project: All.


================
Comment at: lld/ELF/Arch/PPC64.cpp:1386
+  // isUndefined() here. A undefined non-weak symbol has been errored.
+  if (s.isUndefined())
     return false;
----------------
Why externally referenced symbols, this is not the type of undefined symbols here?I would like to know what kind of scenario is being dealt with here


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119787



More information about the llvm-commits mailing list