diff options
author | Lang Hames <lhames@gmail.com> | 2021-12-14 18:30:24 +1100 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2021-12-15 10:01:02 +1100 |
commit | 3ce1e9428b96339c516da926657f830bfb4d4c9a (patch) | |
tree | a8fc20df2b75c57787c755c94d220be12aa1a914 /llvm/lib/ExecutionEngine/Orc/ObjectFileInterface.cpp | |
parent | 71e5488a195dde08a76e923814e036c68033869f (diff) | |
download | llvm-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