[Lldb-commits] [lldb] [lldb][DWARF] Sort ranges list in dwarf 5. (PR #91343)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Tue May 7 11:05:40 PDT 2024


bulbazord wrote:

> For example: https://github.com/llvm/llvm-project/blob/main/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp#L922-L927. When parsing function info, it validates low and hi address of the function: `GetMinRangeBase` returns the first range entry base and `GetMaxRangeEnd` returns the last range end. If low >= hi, it stops parsing this function.
> 
> This causes missing inline stack frames for us when debugging a core dump.

Gotcha, makes sense. Since you know how this fails, could you add a test to make sure that scenario continues working? 

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


More information about the lldb-commits mailing list