Add new experiment to enable generation of DWARF version 5 in
the compiler and linker.
Updates #26379.
Change-Id: I5e686a5e66d13b01e8cc8cd7c04f6fffd90d597b
Reviewed-on: https://go-review.googlesource.com/c/go/+/633877
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
--- /dev/null
+// Code generated by mkconsts.go. DO NOT EDIT.
+
+//go:build !goexperiment.dwarf5
+
+package goexperiment
+
+const Dwarf5 = false
+const Dwarf5Int = 0
--- /dev/null
+// Code generated by mkconsts.go. DO NOT EDIT.
+
+//go:build goexperiment.dwarf5
+
+package goexperiment
+
+const Dwarf5 = true
+const Dwarf5Int = 1
// Synctest enables the testing/synctest package.
Synctest bool
+
+ // Dwarf5 enables DWARF version 5 debug info generation.
+ Dwarf5 bool
}