mirror of
https://github.com/golang/go.git
synced 2025-10-19 11:03:18 +00:00
internal/buildcfg: fix typo in DWARF 5 enabling code
Fix a typo in the code that decides which GOOS values will support use of DWARF 5 ("darwin" was not spelled correctly). Updates #26379. Change-Id: I3a7906d708550fcedc3a8e89d0444bf12b9143f1 Reviewed-on: https://go-review.googlesource.com/c/go/+/656895 Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
parent
c00647b49b
commit
c032b04219
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
|
|||
// XCOFF format (as far as can be determined) doesn't seem to
|
||||
// support the necessary section subtypes for DWARF-specific
|
||||
// things like .debug_addr (needed for DWARF 5).
|
||||
dwarf5Supported := (goos != "dwarwin" && goos != "ios" && goos != "aix")
|
||||
dwarf5Supported := (goos != "darwin" && goos != "ios" && goos != "aix")
|
||||
|
||||
baseline := goexperiment.Flags{
|
||||
RegabiWrappers: regabiSupported,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue