summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2024-09-19 10:15:32 +1000
committerLang Hames <lhames@gmail.com>2024-09-22 09:52:08 +1000
commit85681d48343d503e95d57bad742b254354e59414 (patch)
treeaacbba5f21fd83d8f25afd8c96f4a3cc85b82256 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent1833d418a04123916c1dbeb0c41c8bc7d06b779b (diff)
[ORC] Simplify intra-graph dependence tracking in ObjectLinkingLayer.
ObjectLinkingLayer::registerDependencies used to propagate external symbol dependencies (dependencies on symbols outside the current graph) to all nodes. Since ebe8733a11e, which merged addDependencies into notifyEmitted, the notifyEmitted function will propagate intra-graph dependencies, so registerDependencies no longer needs to do this. This patch updates ObjectLinkingLayer::registerDependencies to just propagate named dependencies (on both internal and external symbols) through anonymous blocks, leaving the rest of the work to ExecutionSession::notifyEmitted. It also choses a key symbol to use for blocks containing multiple symbols. The result is both easier to read and faster.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions