[Lldb-commits] [lldb] [lldb] Add logging to ObjectFileMachO::ParseSymtab (PR #70490)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 27 13:21:06 PDT 2023


================
@@ -2652,7 +2654,9 @@ void ObjectFileMachO::ParseSymtab(Symtab &symtab) {
   std::vector<TrieEntryWithOffset> external_sym_trie_entries;
   std::set<lldb::addr_t> resolver_addresses;
 
-  if (dyld_trie_data.GetByteSize() > 0) {
+  const size_t dyld_trie_data_size = dyld_trie_data.GetByteSize();
+  if (dyld_trie_data_size > 0) {
----------------
JDevlieghere wrote:

So I can reuse the value in the log line below. 

https://github.com/llvm/llvm-project/pull/70490


More information about the lldb-commits mailing list