https://llvm.org/bugs/show_bug.cgi?id=23228
Bug ID: 23228
Summary: RuntimeDyldCOFF should handle relocations for external
symbols
Product: libraries
Version: trunk
Hardware: PC
OS: Windows XP
Status: NEW
Severity: normal
Priority: P
Component: Generic Execution Engine Support
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
RuntimeDyldCOFF does not currently handle relocations for external symbols (see
addRelocationForSymbol).
In MCJIT and Orc this causes failures when bitcode containing references to
external symbols is JIT'd on Windows. Manoel Teixeira brought this to my
attention, as he has run in to it while bringing up a new JIT.
In the short term this can be worked around by pre-resolving symbols and baking
their addresses into the bitcode. Unfortunately that prevents use of object
caches, and in the future may be a barrier to JIT debugging support. In the
longer term it would be great to get support for external symbols.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs