[all-commits] [llvm/llvm-project] 18c5ad: [lldb] Fix block address resolution for functions ...
Pavel Labath via All-commits
all-commits at lists.llvm.org
Wed May 7 02:18:24 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 18c5ad5c6c178365d270439742863e14c8981ea3
https://github.com/llvm/llvm-project/commit/18c5ad5c6c178365d270439742863e14c8981ea3
Author: Pavel Labath <pavel at labath.sk>
Date: 2025-05-07 (Wed, 07 May 2025)
Changed paths:
M lldb/include/lldb/Symbol/Block.h
M lldb/source/Symbol/Block.cpp
A lldb/test/Shell/Commands/command-disassemble-sections.s
Log Message:
-----------
[lldb] Fix block address resolution for functions in multiple sections (#137955)
Continuing the theme from #116777 and #124931, this patch ensures we
compute the correct address when a functions is spread across multiple
sections. Due to this, it's not sufficient to adjust the offset in the
section+offset pair (Address::Slide). We must actually slide the file
offset and then recompute the section using the result.
I found this out due to a failure to disassemble some parts of the
function, so I'm testing with that, although it's likely there are other
things that were broken due to this.
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