cl: switch debug symbols with LLGO_DEBUG
This commit is contained in:
@@ -3,16 +3,10 @@
|
||||
set -e
|
||||
|
||||
# Source common functions and variables
|
||||
# shellcheck source=./_lldb/common.sh
|
||||
source "$(dirname "$0")/common.sh"
|
||||
|
||||
# Check if a package path is provided as an argument
|
||||
package_path="$DEFAULT_PACKAGE_PATH"
|
||||
if [ $# -eq 1 ]; then
|
||||
package_path="$1"
|
||||
fi
|
||||
|
||||
# Build the project
|
||||
build_project "$package_path"
|
||||
executable="$1"
|
||||
|
||||
# Run LLDB
|
||||
"$LLDB_PATH" "${package_path}/out"
|
||||
"$LLDB_PATH" "$executable"
|
||||
|
||||
Reference in New Issue
Block a user