diff options
| author | Lang Hames <lhames@gmail.com> | 2025-03-06 14:54:13 +1100 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2025-03-06 16:13:10 +1100 |
| commit | f905bf3e1ef860c4d6fe67fb64901b6bbe698a91 (patch) | |
| tree | e3f626a57af3c8311c988201e45e75c1c980338e /llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/LLJITWithObjectLinkingLayerPlugin.cpp | |
| parent | a22881c9db07daa0e6a02f6be016a74742bc0654 (diff) | |
[ORC] Remove the Triple argument from LLJITBuilder::ObjectLinkingLayerCreator.
ExecutionSession can provide the Triple, so this argument has been redundant
for a while, and no in-tree clients use it.
Diffstat (limited to 'llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/LLJITWithObjectLinkingLayerPlugin.cpp')
| -rw-r--r-- | llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/LLJITWithObjectLinkingLayerPlugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/LLJITWithObjectLinkingLayerPlugin.cpp b/llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/LLJITWithObjectLinkingLayerPlugin.cpp index 10b163364634..d955b65c349f 100644 --- a/llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/LLJITWithObjectLinkingLayerPlugin.cpp +++ b/llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/LLJITWithObjectLinkingLayerPlugin.cpp @@ -207,7 +207,7 @@ int main(int argc, char *argv[]) { LLJITBuilder() .setJITTargetMachineBuilder(std::move(JTMB)) .setObjectLinkingLayerCreator( - [&](ExecutionSession &ES, const Triple &TT) { + [&](ExecutionSession &ES) { // Create ObjectLinkingLayer. auto ObjLinkingLayer = std::make_unique<ObjectLinkingLayer>( ES, ExitOnErr(jitlink::InProcessMemoryManager::Create())); |
