| // Copyright 2017 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 sym | |
| type Library struct { | |
| Objref string | |
| Srcref string | |
| File string | |
| Pkg string | |
| Shlib string | |
| Hash string | |
| ImportStrings []string | |
| Imports []*Library | |
| Textp []*Symbol // text symbols defined in this library | |
| DupTextSyms []*Symbol // dupok text symbols defined in this library | |
| Main bool | |
| Safe bool | |
| } | |
| func (l Library) String() string { | |
| return l.Pkg | |
| } |