[Lldb-commits] [lldb] ObjectFileJSON and Section changes to support section.address field i… (PR #101062)

Ilhan Raja via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 29 18:48:38 PDT 2024


YungRaj wrote:

I got it working.

But symbolicating backtraces is still broken. Setting breakpoints by address, reading memory, disassembling memory, etc is now working.

https://github.com/llvm/llvm-project/blob/40b4fd7a3e81d32b29364a1b15337bcf817659c0/lldb/source/Core/Section.cpp#L229


In `Section::GetBaseLoadAddress()`, the default return value is` LLDB_INVALID_ADDRESS`, but should only be the default return value if the current segment's FileAddress() is invalid, in which case with the `symbols.json` value it is not.

https://github.com/llvm/llvm-project/pull/101062


More information about the lldb-commits mailing list