Skip to content

Commit ee36e77

Browse files
committed
gopls/internal/telemetry/cmd/stacks: support cmd/compile
Updates golang/go#71045. Change-Id: I6a6a636cc93ecf5342a4577ad4faefc2e2bc0063 Reviewed-on: https://go-review.googlesource.com/c/tools/+/642420 Reviewed-by: Alan Donovan <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 8a5a6d7 commit ee36e77

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

gopls/internal/telemetry/cmd/stacks/stacks.go

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,27 @@ var programs = map[string]ProgramConfig{
145145
"internal/util/bug.",
146146
},
147147
},
148+
"cmd/compile": {
149+
Program: "cmd/compile",
150+
SearchLabel: "compiler/telemetry-wins",
151+
NewIssuePrefix: "cmd/compile",
152+
NewIssueLabels: []string{
153+
"compiler/runtime",
154+
"compiler/telemetry-wins",
155+
"NeedsInvestigation",
156+
},
157+
MatchSymbolPrefix: "cmd/compile",
158+
IgnoreSymbolContains: []string{
159+
// Various "fatal" wrappers.
160+
"Fatal", // base.Fatal*, ssa.Value.Fatal*, etc.
161+
"cmd/compile/internal/base.Assert",
162+
"cmd/compile/internal/noder.assert",
163+
"cmd/compile/internal/ssa.Compile.func1", // basically a Fatalf wrapper.
164+
// Panic recovery.
165+
"cmd/compile/internal/types2.(*Checker).handleBailout",
166+
"cmd/compile/internal/gc.handlePanic",
167+
},
168+
},
148169
}
149170

150171
func main() {

0 commit comments

Comments
 (0)