Before go1.9 embedded struct fields had name == "" in runtime and == type name in DWARF. After go1.9 both runtime and DWARF use a simplified version of the type as name. Embedded structs are distinguished from normal fields by setting a flag in the runtime.structfield, for runtime, and by adding a custom attribute in DWARF. |
||
|---|---|---|
| .. | ||
| config | ||
| dwarf | ||
| proc | ||
| terminal | ||
| version | ||