This allows test/dwarf to be supported by run.go. Update #4139. R=golang-dev, bradfitz, iant CC=golang-dev https://golang.org/cl/7064067