[lldb] Refactor IRExecutionUnit::FindInSymbols (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 5 Aug 2021 16:35:37 +0000 (09:35 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 5 Aug 2021 17:18:14 +0000 (10:18 -0700)
commita46bcc60e52fe080ee87af1788e8cdc00f9c035f
tree9ee215ef98be1e2ea3672eb3c8cb5795aa971169
parentc020be17ce0a43c32554585e1075627769f364f3
[lldb] Refactor IRExecutionUnit::FindInSymbols (NFC)

This patch refactors IRExecutionUnit::FindInSymbols. It eliminates a few
potential pitfalls and tries to be more explicit about the state carried
between symbol resolution attempts.

Differential revision: https://reviews.llvm.org/D107206
lldb/source/Expression/IRExecutionUnit.cpp