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.1k stars 320 forks source link

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

Closed augusto2112 closed 2 weeks ago

augusto2112 commented 4 weeks ago

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

rdar://128481320

augusto2112 commented 4 weeks ago

@swift-ci test

augusto2112 commented 4 weeks ago

@swift-ci test

kastiglione commented 4 weeks ago

Is it possible to write a test for this?

augusto2112 commented 4 weeks ago

Is it possible to write a test for this?

Unfortunately I don't think that this is easily testable.

augusto2112 commented 3 weeks ago

@swift-ci test