[Lldb-commits] [lldb] [LLDB, x86, FreeBSD] Fix Architecture parsing by reading the ELF header. (PR #162811)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 10 06:36:08 PDT 2025
DavidSpickett wrote:
Makes sense, if x86 is your use case, no need to pursue anything else.
Now I remember someone did submit fixes for Arm32 on Arm64 Linux debugging. So it may be working there already.
> I would try my best to provide the Linux one if I can get a one shot. Since I don't have any powerful Linux machine for debugging.
Linux is my usual host so just aim for a FreeBSD test and I'll adapt it later.
I did briefly consider running the entire test suite on Arm64 but with all debugees as 32-bit. Then I realised how many assumptions are made in various places and decided against it.
So a basic test that exercises the main debug APIs would be fine. Run to a breakpoint, read some memory, print a pointer. Anything that comes to mind that might be related to bit-ness.
https://github.com/llvm/llvm-project/pull/162811
More information about the lldb-commits
mailing list