[Lldb-commits] [lldb] [lldb] Support disassembling discontinuous functions (PR #126505)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 10 06:08:53 PST 2025
================
@@ -262,9 +269,11 @@ CommandObjectDisassemble::GetContainingAddressRanges() {
addr, eSymbolContextEverything, sc, resolve_tail_call_address);
if (sc.function || sc.symbol) {
AddressRange range;
- sc.GetAddressRange(eSymbolContextFunction | eSymbolContextSymbol, 0,
- false, range);
- ranges.push_back(range);
+ for (uint32_t idx = 0;
+ sc.GetAddressRange(eSymbolContextFunction | eSymbolContextSymbol,
+ idx, false, range);
+ ++idx)
+ ranges.push_back(range);
}
----------------
DavidSpickett wrote:
Should this be `get_ranges` now that it pushes onto the vector?
https://github.com/llvm/llvm-project/pull/126505
More information about the lldb-commits
mailing list