Sha256: 04fe1a5ee6398ee088d2c358ffbbf5610b9a86f4db79616ae7ca823fe5365e38

Contents?: true

Size: 835 Bytes

Versions: 16

Compression:

Stored size: 835 Bytes

Contents

// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package pkgbits

// A RelocKind indicates a particular section within a unified IR export.
type RelocKind int32

// An Index represents a bitstream element index within a particular
// section.
type Index int32

// A relocEnt (relocation entry) is an entry in an element's local
// reference table.
//
// TODO(mdempsky): Rename this too.
type RelocEnt struct {
	Kind RelocKind
	Idx  Index
}

// Reserved indices within the meta relocation section.
const (
	PublicRootIdx  Index = 0
	PrivateRootIdx Index = 1
)

const (
	RelocString RelocKind = iota
	RelocMeta
	RelocPosBase
	RelocPkg
	RelocName
	RelocType
	RelocObj
	RelocObjExt
	RelocObjDict
	RelocBody

	numRelocs = iota
)

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby_snowflake_client-1.3.7 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.3.6 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.3.5 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.3.4 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.3.4.pre.debug ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.3.3.pre.debug ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.3.2 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.3.1 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.3.0 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.2.1 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.2.0 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.1.1 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.1.0 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.0.2 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.0.1 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go
ruby_snowflake_client-1.0.0 ext/vendor/golang.org/x/tools/internal/pkgbits/reloc.go