]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: add IsAsm flag
authorDavid Chase <drchase@google.com>
Thu, 23 Apr 2020 23:52:31 +0000 (19:52 -0400)
committerDavid Chase <drchase@google.com>
Fri, 24 Apr 2020 01:48:48 +0000 (01:48 +0000)
commitf5fcc9b8e08aa94c1f8ad2b91f447e32940a5435
treef05d72dbe5156dc53b62a820f56dc2a71b584a20
parent6677a2a1fc5814417c3ab319e1717104e07a4c3f
cmd/internal/obj: add IsAsm flag

This allows more exciting changes to compiler-generated assembly
language that might not be correct for tricky hand-crafted
assembly (e.g., nop padding breaking tables of call or branch
instructions).

Updates #35881

Change-Id: I842b811796076c160180a364564f2844604df3fb
Reviewed-on: https://go-review.googlesource.com/c/go/+/229708
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/asm/main.go
src/cmd/internal/obj/link.go