aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Orc/ObjectFileInterface.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2021-12-14 18:30:24 +1100
committerLang Hames <lhames@gmail.com>2021-12-15 10:01:02 +1100
commit3ce1e9428b96339c516da926657f830bfb4d4c9a (patch)
treea8fc20df2b75c57787c755c94d220be12aa1a914 /llvm/lib/ExecutionEngine/Orc/ObjectFileInterface.cpp
parent71e5488a195dde08a76e923814e036c68033869f (diff)
downloadllvm-3ce1e9428b96339c516da926657f830bfb4d4c9a.zip
llvm-3ce1e9428b96339c516da926657f830bfb4d4c9a.tar.gz
llvm-3ce1e9428b96339c516da926657f830bfb4d4c9a.tar.bz2
[ORC] Add early-out to OL_applyQueryPhase1.
If all symbols in a lookup match before we reach the end of the search order then bail out of the search-order loop early. This should reduce unnecessary contention on the session lock and improve readability of the debug logs.
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ObjectFileInterface.cpp')
0 files changed, 0 insertions, 0 deletions