@@ -16,41 +16,41 @@ var Debug DebugFlags
16
16
// The -d option takes a comma-separated list of settings.
17
17
// Each setting is name=value; for ints, name is short for name=1.
18
18
type DebugFlags struct {
19
- Append int `help:"print information about append compilation"`
20
- Checkptr int `help:"instrument unsafe pointer conversions\n0: instrumentation disabled\n1: conversions involving unsafe.Pointer are instrumented\n2: conversions to unsafe.Pointer force heap allocation" concurrent:"ok"`
21
- Closure int `help:"print information about closure compilation"`
22
- DclStack int `help:"run internal dclstack check"`
23
- Defer int `help:"print information about defer compilation"`
24
- DisableNil int `help:"disable nil checks" concurrent:"ok"`
25
- DumpPtrs int `help:"show Node pointers values in dump output"`
26
- DwarfInl int `help:"print information about DWARF inlined function creation"`
27
- Export int `help:"print export data"`
28
- Fmahash string `help:"hash value for use in debugging platform-dependent multiply-add use" concurrent:"ok"`
29
- GCAdjust int `help:"log adjustments to GOGC" concurrent:"ok"`
30
- GCProg int `help:"print dump of GC programs"`
31
- Gossahash string `help:"hash value for use in debugging the compiler"`
32
- InlFuncsWithClosures int `help:"allow functions with closures to be inlined" concurrent:"ok"`
33
- Libfuzzer int `help:"enable coverage instrumentation for libfuzzer"`
34
- LocationLists int `help:"print information about DWARF location list creation"`
35
- Nil int `help:"print information about nil checks"`
36
- NoOpenDefer int `help:"disable open-coded defers" concurrent:"ok"`
37
- NoRefName int `help:"do not include referenced symbol names in object file" concurrent:"ok"`
38
- PCTab string `help:"print named pc-value table\nOne of: pctospadj, pctofile, pctoline, pctoinline, pctopcdata"`
39
- Panic int `help:"show all compiler panics"`
40
- Reshape int `help:"print information about expression reshaping"`
41
- Shapify int `help:"print information about shaping recursive types"`
42
- Slice int `help:"print information about slice compilation"`
43
- SoftFloat int `help:"force compiler to emit soft-float code" concurrent:"ok"`
44
- SyncFrames int `help:"how many writer stack frames to include at sync points in unified export data"`
45
- TypeAssert int `help:"print information about type assertion inlining"`
46
- TypecheckInl int `help:"eager typechecking of inline function bodies" concurrent:"ok"`
47
- Unified int `help:"enable unified IR construction"`
48
- WB int `help:"print information about write barriers"`
49
- ABIWrap int `help:"print information about ABI wrapper generation"`
50
- MayMoreStack string `help:"call named function before all stack growth checks" concurrent:"ok"`
51
- InlineHotCallSiteCDFThreshold string `help:"cummulative threshold percentage for determining call sites as hot candidates for inlining" concurrent:"ok"`
52
- InlineHotBudget int `help:"inline budget for hot functions" concurrent:"ok"`
53
- PGOInline int `help:"debug profile-guided inlining"`
19
+ Append int `help:"print information about append compilation"`
20
+ Checkptr int `help:"instrument unsafe pointer conversions\n0: instrumentation disabled\n1: conversions involving unsafe.Pointer are instrumented\n2: conversions to unsafe.Pointer force heap allocation" concurrent:"ok"`
21
+ Closure int `help:"print information about closure compilation"`
22
+ DclStack int `help:"run internal dclstack check"`
23
+ Defer int `help:"print information about defer compilation"`
24
+ DisableNil int `help:"disable nil checks" concurrent:"ok"`
25
+ DumpPtrs int `help:"show Node pointers values in dump output"`
26
+ DwarfInl int `help:"print information about DWARF inlined function creation"`
27
+ Export int `help:"print export data"`
28
+ Fmahash string `help:"hash value for use in debugging platform-dependent multiply-add use" concurrent:"ok"`
29
+ GCAdjust int `help:"log adjustments to GOGC" concurrent:"ok"`
30
+ GCProg int `help:"print dump of GC programs"`
31
+ Gossahash string `help:"hash value for use in debugging the compiler"`
32
+ InlFuncsWithClosures int `help:"allow functions with closures to be inlined" concurrent:"ok"`
33
+ Libfuzzer int `help:"enable coverage instrumentation for libfuzzer"`
34
+ LocationLists int `help:"print information about DWARF location list creation"`
35
+ Nil int `help:"print information about nil checks"`
36
+ NoOpenDefer int `help:"disable open-coded defers" concurrent:"ok"`
37
+ NoRefName int `help:"do not include referenced symbol names in object file" concurrent:"ok"`
38
+ PCTab string `help:"print named pc-value table\nOne of: pctospadj, pctofile, pctoline, pctoinline, pctopcdata"`
39
+ Panic int `help:"show all compiler panics"`
40
+ Reshape int `help:"print information about expression reshaping"`
41
+ Shapify int `help:"print information about shaping recursive types"`
42
+ Slice int `help:"print information about slice compilation"`
43
+ SoftFloat int `help:"force compiler to emit soft-float code" concurrent:"ok"`
44
+ SyncFrames int `help:"how many writer stack frames to include at sync points in unified export data"`
45
+ TypeAssert int `help:"print information about type assertion inlining"`
46
+ TypecheckInl int `help:"eager typechecking of inline function bodies" concurrent:"ok"`
47
+ Unified int `help:"enable unified IR construction"`
48
+ WB int `help:"print information about write barriers"`
49
+ ABIWrap int `help:"print information about ABI wrapper generation"`
50
+ MayMoreStack string `help:"call named function before all stack growth checks" concurrent:"ok"`
51
+ PGOInlineCDFThreshold string `help:"cummulative threshold percentage for determining call sites as hot candidates for inlining" concurrent:"ok"`
52
+ PGOInlineBudget int `help:"inline budget for hot functions" concurrent:"ok"`
53
+ PGOInline int `help:"debug profile-guided inlining"`
54
54
55
55
ConcurrentOk bool // true if only concurrentOk flags seen
56
56
}
0 commit comments