[llvm-bugs] [Bug 32276] New: LinkOnceAnyLinkage doesn't seem to be handled well within ORC JIT (regression)
llvm-bugs at lists.llvm.org
Wed Mar 15 01:20:45 PDT 2017
Bug ID: 32276
Summary: LinkOnceAnyLinkage doesn't seem to be handled well
within ORC JIT (regression)
OS: MacOS X
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: georgellvmb at oss3d.com
CC: llvm-bugs at lists.llvm.org
There seems to be a regression in how LinkOnceAnyLinkage is handled in ORC JIT.
Specifically, inner symbols of the module are passed to the Resolver's
findSymbolInLogicalDylib, which then cannot resolve them via
(the above call returns nullptr)
This happens for symbols that have LinkOnceAnyLinkage. Iterating over the
module symbols (after module loading) and changing their linkage to
ExternalLinkage or InternalLinkage prevents symbols from being passed to
findSymbolInLogicalDylib, and things work as before.
This problem did not occur with LLVM 3.9.1 release.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs