lldb: add llgo plugin

This commit is contained in:
Li Jie
2024-09-20 23:40:13 +08:00
parent f71e34fd9f
commit 6adecbd7aa
4 changed files with 409 additions and 4 deletions

9
_lldb/runtest.lldb Normal file
View File

@@ -0,0 +1,9 @@
# LLDB can't be load from Python 3.12, should load Python script by lldb command
# See https://github.com/llvm/llvm-project/issues/70453
# go run ./cmd/llgo build -o cl/_testdata/debug/out -dbg ./cl/_testdata/debug
# lldb -S _lldb/runtest.lldb
command script import _lldb/test.py
script main.run_tests("cl/_testdata/debug/out", ["cl/_testdata/debug/in.go"], True, False, None)
quit