internal/build:compile with c mode,when c file

This commit is contained in:
luoliwoshang
2025-06-12 11:52:41 +08:00
parent 9001cdb8f2
commit 93197e7621
20 changed files with 20 additions and 50 deletions

View File

@@ -9,8 +9,6 @@
#include <dlfcn.h>
#include <libunwind.h>
extern "C" {
void *llgo_address() {
return __builtin_return_address(0);
}
@@ -40,6 +38,4 @@ void llgo_stacktrace(int skip, void *ctx, int (*fn)(void *ctx, void *pc, void *o
}
}
}
}
}
}

View File

@@ -9,7 +9,7 @@ import (
)
const (
LLGoFiles = "$(llvm-config --cflags): _wrap/debug.cpp"
LLGoFiles = "$(llvm-config --cflags): _wrap/debug.c"
)
type Info struct {