[Lldb-commits] [lldb] [lldb] Use the function block as a source for function ranges (PR #117996)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 28 03:52:21 PST 2024


================
@@ -3240,8 +3195,17 @@ size_t SymbolFileDWARF::ParseBlocksRecursive(Function &func) {
   DWARFDIE function_die =
       dwarf_cu->GetNonSkeletonUnit().GetDIE(function_die_offset);
   if (function_die) {
-    ParseBlocksRecursive(*comp_unit, &func.GetBlock(false), function_die,
-                         LLDB_INVALID_ADDRESS, 0);
+    // We can't use the file address from the Function object as (in the OSO
----------------
labath wrote:

Filing a complaint about the complete lack of test coverage for this code path on non-mac hosts. :P

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


More information about the lldb-commits mailing list