Skip to content

Commit c032b04

Browse files
thanmgopherbot
authored andcommitted
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 <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: David Chase <[email protected]>
1 parent c00647b commit c032b04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/buildcfg/exp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
8282
// XCOFF format (as far as can be determined) doesn't seem to
8383
// support the necessary section subtypes for DWARF-specific
8484
// things like .debug_addr (needed for DWARF 5).
85-
dwarf5Supported := (goos != "dwarwin" && goos != "ios" && goos != "aix")
85+
dwarf5Supported := (goos != "darwin" && goos != "ios" && goos != "aix")
8686

8787
baseline := goexperiment.Flags{
8888
RegabiWrappers: regabiSupported,

0 commit comments

Comments
 (0)