*: 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

@ -311,6 +311,9 @@ func tagFlags(isTest bool) string {
if runtime.GOOS == "linux" && runtime.GOARCH == "riscv64" {
tags = append(tags, "exp.linuxriscv64")
}
if runtime.GOOS == "linux" && runtime.GOARCH == "loong64" {
tags = append(tags, "exp.linuxloong64")
}
}
if Tags != nil && len(*Tags) > 0 {
tags = append(tags, *Tags...)