[all-commits] [llvm/llvm-project] fdeb2f: [lldb] Fix prologue size calculation for discontin...

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Mar 20 08:01:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdeb2ff30407afbfc3596aaf417a2a91cdff20c9
      https://github.com/llvm/llvm-project/commit/fdeb2ff30407afbfc3596aaf417a2a91cdff20c9
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-03-20 (Thu, 20 Mar 2025)

  Changed paths:
    M lldb/source/Symbol/Function.cpp
    M lldb/test/Shell/SymbolFile/DWARF/x86/discontinuous-function.s

  Log Message:
  -----------
  [lldb] Fix prologue size calculation for discontinuous functions (#131597)

When searching for the end of prologue, I'm only iterating through the
address range (~basic block) which contains the function entry point.
The reason for that is that even if some other range somehow contained
the end-of-prologue marker, the fact that it's in a different range
would imply it's reachable through some form of control flow, and that's
usually not a good place to set an function entry breakpoint.



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