Revert "[ARM][TypePromotion] Enable by default"
[lldb.git] / llgo / llgo-go.sh
1 #!/bin/sh -e
2
3 scriptpath=$(which "$0")
4 scriptpath=$(readlink -f "$scriptpath")
5 bindir=$(dirname "$scriptpath")
6 prefix=$(dirname "$bindir")
7
8 cmd="$1"
9
10 case "$cmd" in
11 build | get | install | run | test)
12   shift
13   PATH="$prefix/lib/llgo/go-path:$PATH" exec go "$cmd" -compiler gccgo "$@"
14   ;;
15
16 *)
17   exec go "$@"
18   ;;
19 esac