lldb: fix runlldb.sh to load llgo plugin

This commit is contained in:
Li Jie
2024-09-22 14:54:26 +08:00
parent 379abeb262
commit 70e271959b

View File

@@ -8,5 +8,8 @@ source "$(dirname "$0")/common.sh"
executable="$1"
# Run LLDB
"$LLDB_PATH" "$executable"
# 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"