[Lldb-commits] [lldb] Reapply "[LLDB][ELF Core] Support all the Generic (Negative) SI Codes." (PR #141670)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri May 30 05:24:20 PDT 2025
DavidSpickett wrote:
After this and the Windows fixup, `TestLinuxCore.py` is hanging on Windows. I cut it down and found that ppc64, riscv and loongarch cores can no longer be loaded.
```
.\bin\lldb.exe C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\API\functionalities\postmortem\elf-core\linux-loongarch64.out --core C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\API\functionalities\postmortem\elf-core\linux-loongarch64.core
(lldb) target create "C:\\Users\\tcwg\\llvm-worker\\lldb-aarch64-windows\\llvm-project\\lldb\\test\\API\\functionalities\\postmortem\\elf-core\\linux-loongarch64.out" --core "C:\\Users\\tcwg\\llvm-worker\\lldb-aarch64-windows\\llvm-project\\lldb\\test\\API\\functionalities\\postmortem\\elf-core\\linux-loongarch64.core"
<...stalls forever...>
```
I'm trying to find the cause.
NetBSD and FreeBSD cores still work but we don't have any non-x86 cores for those. Linux x86, Arm, AArch64, s390x are working too.
So I suspect some method is not filled in for the 3 broken targets but it's proving tricky to find.
No signs of issues on Linux hosts either, so it could be some assumption we have to make if we are compiled on a non-Linux host, that does not hold true for those 3 architectures or they haven't implemented the fallback method for it.
Doesn't help that all 3 of them don't have upstream bots, because they might be failing in their own native builds too but we wouldn't know.
If I don't find anything in the next couple of hours I'm going to revert this so we don't have failures piling up over the weekend. I will continue to investigate though.
https://github.com/llvm/llvm-project/pull/141670
More information about the lldb-commits
mailing list