gllvm/cmd/gclang/main.go

21 lines
336 B
Go

package main
import (
"github.com/SRI-CSL/gllvm/shared"
"os"
)
func main() {
// Parse command line
var args = os.Args
args = args[1:]
exitCode := shared.Compile(args, "clang")
shared.LogInfo("Calling %v returned %v\n", os.Args, exitCode)
//important to pretend to look like the actual wrapped command
os.Exit(exitCode)
}