]> Cypherpunks repositories - gostls13.git/commit
[dev.regabi] cmd/compile: fix -h
authorRuss Cox <rsc@golang.org>
Mon, 30 Nov 2020 14:34:34 +0000 (09:34 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 30 Nov 2020 23:48:42 +0000 (23:48 +0000)
commit41ad4dec991c11d9e1efff27fc0b1568f5981c9c
treef2eb402a8ad14b2747fdf59b329cf442394f9286
parentffa68716a0d50acd29a8eae7874c7e8d02f757ca
[dev.regabi] cmd/compile: fix -h

The compile -h flag is *meant* to panic, so you can see the stack
trace where the error is being printed. Make it do that again.

Change-Id: Ieb0042863582d7a4c5d08d2f866a144962915b06
Reviewed-on: https://go-review.googlesource.com/c/go/+/274116
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/main.go