[PATCH] D33402: [RuntimeDyld, PowerPC] Fix check for external symbols when detecting reloction overflow

Ulrich Weigand via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 10:05:19 PDT 2017


uweigand added a comment.

It seems that to identify external symbols, we need to check for *either* non-null Value.SymbolName *or* a SymType of Symbol::ST_Unknown.

The former may happen for symbols not known to the JIT at all (e.g. defined in a native library), while the latter happens for symbols known to the JIT, but defined in a different module.

I've checked in a fix as r303655 now, this fixes the regressions on my ppc64 machine.


Repository:
  rL LLVM

https://reviews.llvm.org/D33402





More information about the llvm-commits mailing list