[all-commits] [llvm/llvm-project] 37f36c: [lldb] Support disassembling discontinuous functio...

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Feb 12 01:47:44 PST 2025


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

  Changed paths:
    M lldb/source/Commands/CommandObjectDisassemble.cpp
    M lldb/source/Commands/CommandObjectDisassemble.h
    M lldb/source/Symbol/SymbolContext.cpp
    M lldb/test/Shell/Commands/command-disassemble.s

  Log Message:
  -----------
  [lldb] Support disassembling discontinuous functions (#126505)

The command already supported disassembling multiple ranges, among other
reasons because inline functions can be discontinuous. The main thing
that was missing was being able to retrieve the function ranges from the
top level function object.

The output of the command for the case where the function entry point is
not its lowest address is somewhat confusing (we're showing negative
offsets), but it is correct.



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