aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2021-12-16 17:55:02 +1100
committerLang Hames <lhames@gmail.com>2021-12-16 19:46:51 +1100
commit02fc8d5c9eb0703bb1863f22c2d27ff7a580f537 (patch)
treea3cb0ad653509622b8ceba845a75de2794e956ab /llvm/lib/Support/VirtualFileSystem.cpp
parent3eeeb6ec933366a1b4d5482f07ddc724001a6079 (diff)
downloadllvm-02fc8d5c9eb0703bb1863f22c2d27ff7a580f537.zip
llvm-02fc8d5c9eb0703bb1863f22c2d27ff7a580f537.tar.gz
llvm-02fc8d5c9eb0703bb1863f22c2d27ff7a580f537.tar.bz2
[ORC] Add custom object interface support to StaticLibaryDefinitionGenerator.
This adds a GetObjectFileInterface callback member to StaticLibraryDefinitionGenerator, and adds an optional argument for initializing that member to StaticLibraryDefinitionGenerator's named constructors. If not supplied, it will default to getObjectFileInterface from ObjectFileInterface.h. To enable testing a `-hidden-l<x>` option is added to the llvm-jitlink tool. This allows archives to be loaded with all contained symbol visibilities demoted to hidden. The ObjectLinkingLayer::setOverrideObjectFlagsWithResponsibilityFlags method is (belatedly) hooked up, and enabled in llvm-jitlink when `-hidden-l<x>` is used so that the demotion is also applied at symbol resolution time (avoiding any "mismatched symbol flags" crashes).
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions