mirror of
https://github.com/golang/go
synced 2024-11-24 05:10:19 -07:00
[dev.link] cmd/internal/dwarf: add back some constant prefixes
They are still used by the old linker. This is for introducing gating for the new object file format and the new linker. Change-Id: I97bb6ab4cc2c03f90f199c705d4c127e45ca07f6 Reviewed-on: https://go-review.googlesource.com/c/go/+/224621 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
6def07cf1e
commit
f652eb72b6
@ -18,9 +18,21 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// TODO(go115newobj): clean up. Some constant prefixes here are no longer
|
||||||
|
// needed in the new object files.
|
||||||
|
|
||||||
// InfoPrefix is the prefix for all the symbols containing DWARF info entries.
|
// InfoPrefix is the prefix for all the symbols containing DWARF info entries.
|
||||||
const InfoPrefix = "go.info."
|
const InfoPrefix = "go.info."
|
||||||
|
|
||||||
|
// RangePrefix is the prefix for all the symbols containing DWARF location lists.
|
||||||
|
const LocPrefix = "go.loc."
|
||||||
|
|
||||||
|
// RangePrefix is the prefix for all the symbols containing DWARF range lists.
|
||||||
|
const RangePrefix = "go.range."
|
||||||
|
|
||||||
|
// DebugLinesPrefix is the prefix for all the symbols containing DWARF debug_line information from the compiler.
|
||||||
|
const DebugLinesPrefix = "go.debuglines."
|
||||||
|
|
||||||
// ConstInfoPrefix is the prefix for all symbols containing DWARF info
|
// ConstInfoPrefix is the prefix for all symbols containing DWARF info
|
||||||
// entries that contain constants.
|
// entries that contain constants.
|
||||||
const ConstInfoPrefix = "go.constinfo."
|
const ConstInfoPrefix = "go.constinfo."
|
||||||
|
Loading…
Reference in New Issue
Block a user