-
Notifications
You must be signed in to change notification settings - Fork 14.4k
[ORC] Add LazyObjectLinkingLayer, add lazy-linking support to llvm-ji… #116002
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…tlink. LazyObjectLinkingLayer can be used to add object files that will not be linked in unless they're actually called at runtime. LazyObjectLinkingLayer uses lazyReexports to insert stubs for each function in an object file, and an ObjectLinkingLayer::Plugin to rename the function bodies at link-time. The llvm-jitlink utility is extended with a -lazy option that can be passed before input files or archives to add them using the lazy linking layer rather than the base ObjectLinkingLayer.
…e to a missing __ImageBase symbol for reasons that aren't clear. Landing this patch will allow others to debug the issue in-tree.
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/154/builds/7605 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/95/builds/6325 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/168/builds/5622 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/4585 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/145/builds/3236 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/39/builds/2886 Here is the relevant piece of the build log for the reference
|
…tlink.
LazyObjectLinkingLayer can be used to add object files that will not be linked in unless they're actually called at runtime.
LazyObjectLinkingLayer uses lazyReexports to insert stubs for each function in an object file, and an ObjectLinkingLayer::Plugin to rename the function bodies at link-time.
The llvm-jitlink utility is extended with a -lazy option that can be passed before input files or archives to add them using the lazy linking layer rather than the base ObjectLinkingLayer.