[all-commits] [llvm/llvm-project] 499d6d: [lldb] Correctly resolve (discontinuous) function ...

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Feb 13 02:24:01 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 499d6da3bb2c967abda298518dc22b7baf084a9e
      https://github.com/llvm/llvm-project/commit/499d6da3bb2c967abda298518dc22b7baf084a9e
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
    M lldb/source/Symbol/SymbolContext.cpp
    M lldb/test/Shell/Commands/command-disassemble.s

  Log Message:
  -----------
  [lldb] Correctly resolve (discontinuous) function offsets when disassembling (#126925)

We need to iterate through the all symbol context ranges returned by
(since #126505) SymbolContext::GetAddressRange. This also includes a fix
to print the function offsets as signed values.

I've also wanted to check that the addresses which are in the middle of
the function do *not* resolve to the function, but that's not entirely
the case right now. This appears to be a separate issue though, so I've
just left a TODO for now.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list