[all-commits] [llvm/llvm-project] f2e102: [lldb] Support discontinuous functions in another ...
Pavel Labath via All-commits
all-commits at lists.llvm.org
Fri Mar 14 00:25:07 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f2e10278efe7a54544bf1a1d34cf55fe80d92316
https://github.com/llvm/llvm-project/commit/f2e10278efe7a54544bf1a1d34cf55fe80d92316
Author: Pavel Labath <pavel at labath.sk>
Date: 2025-03-14 (Fri, 14 Mar 2025)
Changed paths:
M lldb/source/Core/Disassembler.cpp
Log Message:
-----------
[lldb] Support discontinuous functions in another Disasembler overload (#130987)
This overload is taking a StackFrame, so we just need to change how we
obtain the ranges out of it. A slightly fiddly aspect is the code which
tries to provide a default dissassembly range for the case where we
don't have a real one. I believe this case is only relevant for
symbol-based stack frames as debug info always has size/range for the
functions (if it didn't we wouldn't even resolve the stack frame to a
function), which is why I've split the handling of the two cases.
We already have a test case for disassembly of discontinuous functions
(in test/Shell/Commands/command-disassemble.s), so I'm not creating
another one as this is just a slightly different entry point into the
same code.
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