[Lldb-commits] [lldb] [lldb] Upstream and adopt ReadUnsignedIntegersFromMemory in AppleObjCRuntimeV2 (PR #190564)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 7 09:54:06 PDT 2026


================
@@ -739,7 +764,7 @@ ExtractRuntimeGlobalSymbol(Process *process, ConstString name,
   if (!byte_size)
     byte_size = process->GetAddressByteSize();
   const Symbol *symbol =
-      module_sp->FindFirstSymbolWithNameAndType(name, lldb::eSymbolTypeData);
+      module_sp->FindFirstSymbolWithNameAndType(name, sym_type);
----------------
felipepiovezan wrote:

this drive-by could potentially be changing behavior. I know this is very likely a bug in the original code, but it could have side effects you didn't intend.

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


More information about the lldb-commits mailing list