[PATCH] D30709: Handle IMAGE_REL_AMD64_ADDR32NB in RuntimeDyldCOFF

Frederich Munch via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 25 13:03:02 PST 2018


marsupial added a comment.

I think what you're trying to do just isn't unsupported at this time.
Why not just use the JIT to compile the source for the on disk object at runtime?

Mixing and matching object files from two different compilers (1 on disk from VStudio, and 1 in memory via clang) seems prone to error for a variety of reasons.
Also ** __ImageBase** isn't supposed to be a function it's an IMAGE_DOS_HEADER that is used by the runtime loader.


Repository:
  rL LLVM

https://reviews.llvm.org/D30709





More information about the llvm-commits mailing list