apple / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Apple’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.09k stars 320 forks source link

[lldb] Calculate process address if file address + section fails #8919

Closed augusto2112 closed 1 week ago

augusto2112 commented 1 week ago

If the resulting address from the Address constructor that takes a file address + offset fails, fallback to calculating the process address.

rdar://128481320 (cherry picked from commit 1b147a2df8c58c0b4256951cfdd56000e02f5d26)