diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2015-04-10 12:34:31 +0300 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2015-04-10 16:59:06 +0000 |
| commit | 53a8ee5011c2cca9f938af2ff2973ed8897aa597 (patch) | |
| tree | 94e67b2d89e0184aec8f8695f02abf8def5875f9 /src/debug/dwarf | |
| parent | 7647741246691a17f17799ae1f4c54a9828b90e4 (diff) | |
| download | go-53a8ee5011c2cca9f938af2ff2973ed8897aa597.tar.xz | |
syscall: correct code for cover cmd
Fixes #10378
This is clumsy, but currently cover tool fails as:
$ go test -run=none -cover syscall
syscall_linux_amd64.go:15: can only use //go:noescape with external func implementations
FAIL syscall [build failed]
This happens because cover tool mishandles //go: comments.
r and gri said that fixing cover is infeasible due to go/ast limitations.
So at least fix the offending code so that coverage works.
This come up in context of coverage-guided fuzzing which works best
with program-wide coverage.
Change-Id: I142e5774c9f326ed38cb202693bd4edae93879ba
Reviewed-on: https://go-review.googlesource.com/8723
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/debug/dwarf')
0 files changed, 0 insertions, 0 deletions
