compiler: move _lldb into compiler/

This commit is contained in:
Li Jie
2025-01-08 15:22:09 +08:00
parent 60c430abad
commit b299800e64
6 changed files with 0 additions and 0 deletions

15
compiler/_lldb/runlldb.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
set -e
# Source common functions and variables
# shellcheck source=./_lldb/common.sh
source "$(dirname "$0")/common.sh"
executable="$1"
# Get the directory of the current script
script_dir="$(dirname "$0")"
# Run LLDB with the LLGO plugin
"$LLDB_PATH" -O "command script import ${script_dir}/llgo_plugin.py" "$executable"