]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix logopt log directory naming for windows
authorDavid Chase <drchase@google.com>
Fri, 25 Sep 2020 17:30:51 +0000 (13:30 -0400)
committerDavid Chase <drchase@google.com>
Sat, 26 Sep 2020 22:01:34 +0000 (22:01 +0000)
commit6f02578f9cff92e6c0fae4d86df01dcf99673c61
tree05d46e5a73ab16219d7ce2ffe09213a0e5cd6a94
parentad618689ef06e9dca86c0e2b9b38a2c1b9266f4a
cmd/compile: fix logopt log directory naming for windows

Allow Windows absolute paths, also fixed URI decoding on Windows.
Added a test, reorganized to make the test cleaner.
Also put some doc comments on exported functions that did not have them.

Fixes #41614.

Change-Id: I2871be0e5183fbd53ffb309896d6fe56c15a7727
Reviewed-on: https://go-review.googlesource.com/c/go/+/257677
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
src/cmd/compile/internal/logopt/log_opts.go
src/cmd/compile/internal/logopt/logopt_test.go