[PATCH] D65548: Make JITDylib ignore Exported flag
Lang Hames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 1 11:43:22 PDT 2019
lhames added a comment.
Hi Sasha,
I definitely want this to work on Windows, but this isn't the right way to fix it. Instead, you want to turn on symbol-flag-overrides in the linking layer by calling RTDyldObjectLinkingLayer's (or ObjectLinkingLayer's, if you're using that) setOverrideObjectFlagsWithResponsibilityFlags() method.
If you have a custom JIT stack:
ObjLinkingLayer.setOverrideObjectFlagsWithResponsibilityFlags(true);
should do it.
I will update LLJIT to do this automatically if the target is Windows.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65548/new/
https://reviews.llvm.org/D65548
More information about the llvm-commits
mailing list