]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: handle multiple arches in asm build directives
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 21 Jul 2016 18:40:01 +0000 (11:40 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 22 Aug 2016 15:43:16 +0000 (15:43 +0000)
commitef6fde26e5cac06c0dbd4ffe628a3ecd2ef7c450
treee959bd7abdba9d8ca2076d9818e85f3cb1f339d6
parent863ca99415915b19218a36e7c4bf836c135ca00c
cmd/vet: handle multiple arches in asm build directives

If a build directive contains multiple arches,
try to match the build context.

Updates #11041

Change-Id: I03b5d7bfb29d1ff6c7d36a9d7c7fabfcc1d871c1
Reviewed-on: https://go-review.googlesource.com/27158
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/vet/asmdecl.go