Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add support for LoongArch #1198

Open
darkyzhou opened this issue Dec 25, 2024 · 2 comments
Open

Feature request: add support for LoongArch #1198

darkyzhou opened this issue Dec 25, 2024 · 2 comments
Labels
enhancement Enchancement request

Comments

@darkyzhou
Copy link

I'm requesting support for LoongArch, a RISC-based instruction set architecture developed by Loongson.

Having recently ported VSCodium to LoongArch, I noticed that the Open VSX Registry offers very limited options for C/C++ and Rust debuggers. And none of them offers support for the architecture.

I would like to request native .vsix builds for LoongArch support. I'm also willing to contribute by helping with the CI pipeline updates.

@darkyzhou darkyzhou added the enhancement Enchancement request label Dec 25, 2024
@vadimcn
Copy link
Owner

vadimcn commented Dec 30, 2024

Building Codelldb itself for another arch is not the problem, building LLDB with Python support is. Right now I'm using binaries from Python Standalone to get portable Python. As you can see, they don't provide builds for LoongArch.
Another issue is that I don't have the hardware to test or debug on. And neither does Azure (which is used for CI).

If your distro's repository provides LLVM 18 or later, I'd recommend trying LLDB's own DAP adapter.

@darkyzhou
Copy link
Author

Thank you for the detailed explanation. Regarding the issues you mentioned:

For Python Standalone support, I'll look into adding LoongArch support.
As for the hardware limitation, would it be feasible to test the implementation using QEMU emulation?

About LLDB DAP - while it's definitely a promising solution, I noticed it's not yet available on Open VSX (the default marketplace for VSCodium). There's an ongoing discussion about this at llvm/llvm-project#93544, and I am going to see if any progress could be made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enchancement request
Projects
None yet
Development

No branches or pull requests

2 participants