diff options
| author | Shenghou Ma <minux@golang.org> | 2018-12-13 23:55:22 -0500 |
|---|---|---|
| committer | Minux Ma <minux@golang.org> | 2018-12-15 01:38:39 +0000 |
| commit | 281ce28c5048416dce9379405cc061b2f3662c84 (patch) | |
| tree | e4c3eeb30e1b3f96ebbce3ea96f98023ddab5a41 /src/runtime/export_debug_test.go | |
| parent | fd323a8cffc11c92366243c4d26cb3ead507dc84 (diff) | |
| download | go-281ce28c5048416dce9379405cc061b2f3662c84.tar.xz | |
cmd/link: fix in-package syso linking
CL 146297 ignored archive members with short names that don't have
the .o suffix, however, it also ignored .syso files as well.
This change restores the original .syso behavior and adds a test.
As the test is basically following a shell script, we make use of
the existing cmd/go/testdata/script framework. To support running
C compiler in the script, we added a `cc` command, which runs the
C compiler along with correct platform specific arguments.
Fixes #29253.
Change-Id: If8520151c4d6a74ab9fe84d34bff9a4480688815
Reviewed-on: https://go-review.googlesource.com/c/154109
Run-TryBot: Minux Ma <minux@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/runtime/export_debug_test.go')
0 files changed, 0 insertions, 0 deletions
