diff options
| author | Ian Lance Taylor <iant@golang.org> | 2024-12-17 11:31:17 -0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-12-17 13:28:29 -0800 |
| commit | 95b433eed428afbb4ab32f0f2541774e939989c7 (patch) | |
| tree | fc63730a6bd9fec27535a1b978d3d24a811dfaad /api | |
| parent | b2c0168893a7f27927630198cdf63911374035c3 (diff) | |
| download | go-95b433eed428afbb4ab32f0f2541774e939989c7.tar.xz | |
debug/elf: adjust version API per issue discussion
This updates the new version API for the discussion on #63952.
Note that the current tests do not have symbols with hidden versions.
Leaving that for later.
For #63952
Change-Id: I1ad4b1e485429a216ba8e5b68f7f4299d120628f
Reviewed-on: https://go-review.googlesource.com/c/go/+/637235
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Austin Clements <austin@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'api')
| -rw-r--r-- | api/go1.24.txt | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/api/go1.24.txt b/api/go1.24.txt index 795a70e354..05e2006e07 100644 --- a/api/go1.24.txt +++ b/api/go1.24.txt @@ -106,16 +106,6 @@ pkg debug/elf, const VER_FLG_INFO = 4 #63952 pkg debug/elf, const VER_FLG_INFO DynamicVersionFlag #63952 pkg debug/elf, const VER_FLG_WEAK = 2 #63952 pkg debug/elf, const VER_FLG_WEAK DynamicVersionFlag #63952 -pkg debug/elf, const VersionScopeGlobal = 2 #63952 -pkg debug/elf, const VersionScopeGlobal SymbolVersionScope #63952 -pkg debug/elf, const VersionScopeHidden = 4 #63952 -pkg debug/elf, const VersionScopeHidden SymbolVersionScope #63952 -pkg debug/elf, const VersionScopeLocal = 1 #63952 -pkg debug/elf, const VersionScopeLocal SymbolVersionScope #63952 -pkg debug/elf, const VersionScopeNone = 0 #63952 -pkg debug/elf, const VersionScopeNone SymbolVersionScope #63952 -pkg debug/elf, const VersionScopeSpecific = 3 #63952 -pkg debug/elf, const VersionScopeSpecific SymbolVersionScope #63952 pkg debug/elf, method (*File) DynamicVersionNeeds() ([]DynamicVersionNeed, error) #63952 pkg debug/elf, method (*File) DynamicVersions() ([]DynamicVersion, error) #63952 pkg debug/elf, type DynamicVersion struct #63952 @@ -131,9 +121,11 @@ pkg debug/elf, type DynamicVersionFlag uint16 #63952 pkg debug/elf, type DynamicVersionNeed struct #63952 pkg debug/elf, type DynamicVersionNeed struct, Name string #63952 pkg debug/elf, type DynamicVersionNeed struct, Needs []DynamicVersionDep #63952 -pkg debug/elf, type Symbol struct, VersionScope SymbolVersionScope #63952 -pkg debug/elf, type Symbol struct, VersionIndex int16 #63952 -pkg debug/elf, type SymbolVersionScope uint8 #63952 +pkg debug/elf, type Symbol struct, HasVersion bool #63952 +pkg debug/elf, type Symbol struct, VersionIndex VersionIndex #63952 +pkg debug/elf, method (VersionIndex) Index() uint16 #63952 +pkg debug/elf, method (VersionIndex) IsHidden() bool #63952 +pkg debug/elf, type VersionIndex uint16 #63952 pkg encoding, type BinaryAppender interface { AppendBinary } #62384 pkg encoding, type BinaryAppender interface, AppendBinary([]uint8) ([]uint8, error) #62384 pkg encoding, type TextAppender interface { AppendText } #62384 |
