[all-commits] [llvm/llvm-project] 85c3c9: [lldb] Fix offset computation in RegisterContextUn...
Pavel Labath via All-commits
all-commits at lists.llvm.org
Thu May 15 00:39:33 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 85c3c986304a83b2e2fda2cefb62e0f456c14dac
https://github.com/llvm/llvm-project/commit/85c3c986304a83b2e2fda2cefb62e0f456c14dac
Author: Pavel Labath <pavel at labath.sk>
Date: 2025-05-15 (Thu, 15 May 2025)
Changed paths:
M lldb/include/lldb/Core/Address.h
M lldb/source/Core/Address.cpp
M lldb/source/Target/RegisterContextUnwind.cpp
M lldb/test/Shell/Unwind/Inputs/basic-block-sections-with-dwarf.s
M lldb/test/Shell/Unwind/basic-block-sections-with-dwarf-static.test
Log Message:
-----------
[lldb] Fix offset computation in RegisterContextUnwind (#137155)
AddressFunctionScope was always returning the first address range of the
function (assuming it was the only one). This doesn't work for
RegisterContextUnwind (it's only caller), when the function doesn't
start at the lowest address because it throws off the 'how many bytes
"into" a function I am' computation. This patch replaces the result with
a call to (recently introduced)
SymbolContext::GetFunctionOrSymbolAddress.
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