[Lldb-commits] [PATCH] D107206: [lldb] Refactor	IRExecutionUnit::FindInSymbols (NFC)
    Shafik Yaghmour via Phabricator via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Thu Aug  5 09:13:58 PDT 2021
    
    
  
shafik accepted this revision.
shafik added a comment.
LGTM
================
Comment at: lldb/source/Expression/IRExecutionUnit.cpp:842
+  Target *m_target;
+  bool &m_symbol_was_missing_weak;
+  lldb::addr_t m_best_internal_load_address = LLDB_INVALID_ADDRESS;
----------------
Normally I wouldn't be crazy about a reference member but since this is a localized class I think this is an ok compromise.
I guess the real question would be why `IRExecutionUnit::FindInSymbols` is returning a value that way and perhaps it should be returning a struct w/ `addr_t` and `bool` but that would be a different change.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107206/new/
https://reviews.llvm.org/D107206
    
    
More information about the lldb-commits
mailing list