diff options
author | Lang Hames <lhames@gmail.com> | 2021-03-12 17:02:01 -0800 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2021-03-12 18:42:51 -0800 |
commit | 4e30b20bdbabac316de1192170e2a319630a6457 (patch) | |
tree | 489d845a87fb39abb4732d45f3be12714eee0a18 /llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp | |
parent | 75cdeff43b2b83baf643ccfd318f6669844fe370 (diff) | |
download | llvm-4e30b20bdbabac316de1192170e2a319630a6457.zip llvm-4e30b20bdbabac316de1192170e2a319630a6457.tar.gz llvm-4e30b20bdbabac316de1192170e2a319630a6457.tar.bz2 |
[JITLink][ORC] Make the LinkGraph available to modifyPassConfig.
This makes the target triple, graph name, and full graph content available
when making decisions about how to populate the linker pass pipeline.
Also updates the LLJITWithObjectLinkingLayerPlugin example to show more
API use, including use of the API changes in this patch.
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp b/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp index 1da87dd..4b53d87 100644 --- a/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp +++ b/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp @@ -432,7 +432,7 @@ void DebugObjectManagerPlugin::notifyMaterializing( } void DebugObjectManagerPlugin::modifyPassConfig( - MaterializationResponsibility &MR, const Triple &TT, + MaterializationResponsibility &MR, LinkGraph &G, PassConfiguration &PassConfig) { // Not all link artifacts have associated debug objects. std::lock_guard<std::mutex> Lock(PendingObjsLock); |