1
0
mirror of https://github.com/golang/go synced 2024-10-03 02:31:21 -06:00
go/src
Austin Clements 947b6a7ec8 debug/dwarf: add Entry.AttrField method to get *Field by Attr
Currently, Entry has a Val method that looks up an attribute and
returns its value. Now that Field has more fields than the attribute
and its value, it's useful to return the whole Field and let the
caller retrieve the parts it needs.

This change adds an AttrField method to Entry that does the same
lookup at Val, but returns the whole *Field rather than just the
value.

Change-Id: Ic629744c14c0e09d7528fa1026b0e1857789948c
Reviewed-on: https://go-review.googlesource.com/8503
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-04-12 14:38:00 +00:00
..
archive all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
bufio bufio: fix incorrect comment on Scanner.Scan 2015-03-18 00:59:49 +00:00
builtin
bytes bytes, strings: add Reader.Size methods 2015-04-06 08:53:47 +00:00
cmd cmd/interal/ld: darwin c-archive buildmode support 2015-04-12 14:00:32 +00:00
compress compress/flate: fix typo in comment 2015-04-01 16:48:04 +00:00
container
crypto crypto/tls: tidy up a little and add test. 2015-04-04 00:06:21 +00:00
database/sql database/sql: Retry with a fresh connection after maxBadConnRetries 2015-04-08 16:18:36 +00:00
debug debug/dwarf: add Entry.AttrField method to get *Field by Attr 2015-04-12 14:38:00 +00:00
encoding encoding/gob: more checks for corrupted data 2015-04-09 17:02:19 +00:00
errors
expvar
flag all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
fmt fmt: improve test coverage of %x and %X format variations for strings 2015-04-01 00:55:30 +00:00
go go/types: move go/types/internal/gcimport => go/internal/gcimporter 2015-04-11 05:11:18 +00:00
hash os/signal, hash/crc32: add arm64 build tags 2015-03-16 18:46:43 +00:00
html text/template: provide a mechanism for options 2015-04-03 23:40:59 +00:00
image image/jpeg: reject multiple Start-Of-Frame markers. 2015-04-09 02:32:23 +00:00
index/suffixarray
internal internal/trace: don't assume GC will start and end on same P 2015-04-10 18:21:41 +00:00
io io: clarify Copy docs regarding error handling 2015-04-08 13:39:33 +00:00
log log: add flag LUTC, to use UTC time zone for time stamp 2015-04-11 02:30:24 +00:00
math math/big: better doc strings for ErrNaN functionality 2015-04-09 20:18:32 +00:00
mime mime/quotedprintable: add binary mode to the writer 2015-03-30 12:49:19 +00:00
net net: make multi-IP resolution more flexible. 2015-04-10 09:03:25 +00:00
os os: adjust working dir for darwin/arm64 tests 2015-04-12 11:51:59 +00:00
path all: fix race when allocating buffer for some windows syscalls 2015-04-08 02:06:31 +00:00
reflect reflect, runtime: check equality, not identity, for method names 2015-04-11 17:35:44 +00:00
regexp regexp: skip backtracker for long programs 2015-04-09 09:38:23 +00:00
runtime runtime: library entry point for darwin/arm 2015-04-12 12:49:49 +00:00
sort
strconv strconv: use 64bit uint for decimal conversion if available 2015-04-10 17:42:20 +00:00
strings bytes, strings: add Reader.Size methods 2015-04-06 08:53:47 +00:00
sync sync/atomic: skip issue 7338 test on darwin/arm64 2015-04-12 02:47:43 +00:00
syscall syscall: skip fork test on darwin/arm64 2015-04-12 11:52:31 +00:00
testing testing/quick: fix comment 2015-03-27 13:00:53 +00:00
text text/template: provide a mechanism for options 2015-04-03 23:40:59 +00:00
time time: add Time.AppendFormat 2015-04-10 20:18:22 +00:00
unicode all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
unsafe
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: copy pkg for gcimporter tests 2015-04-08 14:39:07 +00:00
bootstrap.bash build: add bootstrap.bash for bootstrapping new systems 2015-03-02 17:51:56 +00:00
clean.bash
clean.bat
clean.rc
iostest.bash iostest.bash: warn if GOARCH is not correct 2015-04-03 18:51:42 +00:00
make.bash
make.bat build: update Windows make.bat to use CC_FOR_TARGET. 2015-03-02 02:20:46 +00:00
Make.dist
make.rc all: delete C libraries and cmd/dist code that builds them 2015-03-01 00:40:23 +00:00
nacltest.bash nacltest.bash: reduce test time by using bootstrapping Go to build fstest_nacl.go 2015-03-24 23:58:14 +00:00
race.bash
race.bat
run.bash build: convert run.bash, run.bat, and run.rc into a Go program 2015-03-03 23:22:11 +00:00
run.bat build: convert run.bash, run.bat, and run.rc into a Go program 2015-03-03 23:22:11 +00:00
run.rc build: convert run.bash, run.bat, and run.rc into a Go program 2015-03-03 23:22:11 +00:00