mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/asm, cmd/compile, doc: document -spectre flags
Most of the docs are in the new wiki page https://golang.org/wiki/Spectre. Updates #37419. Change-Id: I6e8f76670593c089de895e1665b41d874f879df9 Reviewed-on: https://go-review.googlesource.com/c/go/+/236599 Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
parent
76f233fe04
commit
b6faed1326
3 changed files with 13 additions and 4 deletions
|
|
@ -107,6 +107,8 @@ Flags:
|
|||
Warn about composite literals that can be simplified.
|
||||
-shared
|
||||
Generate code that can be linked into a shared library.
|
||||
-spectre list
|
||||
Enable spectre mitigations in list (all, index, ret).
|
||||
-traceprofile file
|
||||
Write an execution trace to file.
|
||||
-trimpath prefix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue