*: add support for linux/loong64 to native backend (#3892)

* delve: support linux-loong64 native debug

LoongArch is a new RISC ISA, which is independently designed by Loongson Technology.

LoongArch includes a reduced 32-bit version (LA32R), a standard 32-bit version (LA32S)
and a 64-bit version (LA64), and loong64 is the 64-bit version of LoongArch.

LoongArch documentation: https://github.com/loongson/LoongArch-Documentation.git

* *: mark loong64 port as experimental

---------

Co-authored-by: Huang Qiqi <huangqiqi@loongson.cn>
This commit is contained in:
yelvens
2025-01-18 01:41:37 +08:00
committed by GitHub
parent 38af36e942
commit d2f748f1bd
36 changed files with 3803 additions and 25 deletions

View File

@ -252,6 +252,9 @@ func TestCore(t *testing.T) {
if runtime.GOOS != "linux" || runtime.GOARCH == "386" {
t.Skip("unsupported")
}
if runtime.GOOS != "linux" || runtime.GOARCH == "loong64" {
t.Skip("could not read runtime.sigtrampgo context")
}
if runtime.GOOS == "linux" && os.Getenv("CI") == "true" && buildMode == "pie" {
t.Skip("disabled on linux, Github Actions, with PIE buildmode")
}
@ -412,6 +415,9 @@ func TestCoreWithEmptyString(t *testing.T) {
if runtime.GOOS != "linux" || runtime.GOARCH == "386" {
t.Skip("unsupported")
}
if runtime.GOOS != "linux" || runtime.GOARCH == "loong64" {
t.Skip("could not read runtime.sigtrampgo context")
}
if runtime.GOOS == "linux" && os.Getenv("CI") == "true" && buildMode == "pie" {
t.Skip("disabled on linux, Github Actions, with PIE buildmode")
}