[Lldb-commits] [lldb] [lldb/DWARF] Remove "range lower than function low_pc" check (PR #132395)
    Pavel Labath via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Tue Apr 22 07:58:48 PDT 2025
    
    
  
================
@@ -42,6 +27,21 @@ look_me_up:
         .size   foo.__part.1, .Lfoo.__part.1_end-foo.__part.1
 
 
+bar:
+        nop
+.Lbar_end:
+        .size   bar, .Lbar_end-bar
+
+        .type   foo, at function
+foo:
----------------
labath wrote:
It's because the range `[.Lfoo_inl.__part.1, .Lfoo_inl.__part.1_end)` is before the `foo` entry point. This is the range of the fake "foo_inl" inlined function (which, for most purposes, is treated the same way as DW_TAG_lexical_block). This is described in the DWARF at lines 115--117 and 159-166
https://github.com/llvm/llvm-project/pull/132395
    
    
More information about the lldb-commits
mailing list