[Lldb-commits] [lldb] [lldb][nfc] Factor out code checking if Variable is in scope (PR #143572)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 10 15:01:37 PDT 2025


================
@@ -321,6 +302,27 @@ bool Variable::IsInScope(StackFrame *frame) {
   return false;
 }
 
+bool Variable::IsInScope(Block &block, Address addr) {
----------------
felipepiovezan wrote:

That one is just a pointer + integer, my understanding is that it is supposed to be passed by value?

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


More information about the lldb-commits mailing list