diff options
| author | Cherry Mui <cherryyz@google.com> | 2025-09-16 13:34:19 -0400 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2025-09-25 09:24:46 -0700 |
| commit | 6dceff8bad6213bca76361462c99b0d06fd0a8f9 (patch) | |
| tree | 9d73f41286fdb4643db80a6ee990ee1935423b55 /src/runtime/stack_test.go | |
| parent | 76d088eb74115ea14f774d1940557ca3047e1ebb (diff) | |
| download | go-6dceff8bad6213bca76361462c99b0d06fd0a8f9.tar.xz | |
cmd/link: handle -w flag in external linking mode
Currently, when the -w flag is set, it doesn't actually disable
the debug info generation with in external linking mode. (It does
make the Go object have no debug info, but C objects may still
have.) Pass "-Wl,-S" to let the external linker disable debug info
generation.
Change-Id: I0fce56b9f23a45546b69b9e6dd027c5527b1bc87
Reviewed-on: https://go-review.googlesource.com/c/go/+/705857
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/stack_test.go')
0 files changed, 0 insertions, 0 deletions
