go/src
Austin Clements e1544d3bb6 dwbug/elf: support old-style compressed DWARF
GCC and LLVM support zlib-compressing DWARF debug sections (and
there's some evidence that this may be happening by default in some
circumstances now).

Add support for reading compressed DWARF sections. Since ELF
relocations apply to the decompressed data, decompression is done
before applying relocations. Since relcations are applied by
debug/elf, decompression must also be handled there.

Note that this is different from compressed ELF sections, which is a
more general mechanism used by very recent versions of GCC.

Updates #11773.

Change-Id: I3f4bf1b04d0802cc1e8fcb7c2a5fcf6c467c5089
Reviewed-on: https://go-review.googlesource.com/17340
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2015-12-03 20:53:04 +00:00
..
archive archive/tar: convert Reader.Next to be loop based 2015-12-02 02:27:27 +00:00
bufio bufio: clarify Read docs 2015-12-01 20:05:25 +00:00
builtin
bytes
cmd dwbug/elf: support old-style compressed DWARF 2015-12-03 20:53:04 +00:00
compress compress/bzip2/testdata: make Mark.Twain-Tom.Sawyer.txt free 2015-12-02 02:40:38 +00:00
container
crypto crypto/x509: introduce ErrInsecureAlgorithm for insecure algorithms 2015-12-03 20:02:09 +00:00
database/sql database/sql: Add DB.SetConnMaxLifetime 2015-12-02 17:38:31 +00:00
debug dwbug/elf: support old-style compressed DWARF 2015-12-03 20:53:04 +00:00
encoding encoding/json: revise docs for Unmarshal into map, slice, array 2015-12-03 14:54:24 +00:00
errors
expvar
flag
fmt internal/race: add package 2015-11-26 16:50:31 +00:00
go dwbug/elf: support old-style compressed DWARF 2015-12-03 20:53:04 +00:00
hash hash/crc32: add noescape tags to assembly functions 2015-11-25 15:01:10 +00:00
html text/template,html/template: correct comment in DefinedTemplates 2015-11-24 21:52:36 +00:00
image image: add NYCbCrA types. 2015-10-11 11:07:25 +00:00
index/suffixarray
internal internal/race: add package 2015-11-26 16:50:31 +00:00
io io/ioutil: add examples to functions 2015-11-30 19:47:18 +00:00
log log/syslog: disable unix/unixgram tests on android 2015-10-21 17:56:51 +00:00
math math/rand: add a comment for the i=0 iteration 2015-11-15 08:21:29 +00:00
mime mime: let FormatMediaType format slash-less media types, to mirror ParseMediaType. 2015-12-01 16:29:28 +00:00
net net/http: make Client follow redirects even if Request.Method is empty 2015-12-03 19:53:44 +00:00
os os: be more specific on what flags are used for 2015-12-03 16:27:11 +00:00
path path: fix typo 2015-11-28 05:54:25 +00:00
reflect reflect: mark mapassign as noescape 2015-11-19 21:35:58 +00:00
regexp regexp/syntax: fix handling of \Q...\E 2015-12-01 22:45:12 +00:00
runtime runtime: fix sanity check in stackBarrier 2015-12-03 03:53:35 +00:00
sort strings: fix period placement in Search doc comment 2015-11-18 02:58:10 +00:00
strconv
strings strings: add asm version of Index() for short strings on amd64 2015-11-03 16:04:28 +00:00
sync internal/race: add package 2015-11-26 16:50:31 +00:00
syscall internal/race: add package 2015-11-26 16:50:31 +00:00
testing testing: document that T and B are safe for concurrent calls 2015-12-01 22:01:26 +00:00
text text/template,html/template: correct comment in DefinedTemplates 2015-11-24 21:52:36 +00:00
time time: fix handling of -07, handle Z07 2015-12-02 01:35:09 +00:00
unicode unicode/utf8: add test for FullRune 2015-12-01 10:39:06 +00:00
unsafe
vendor/golang.org/x/net/http2/hpack net/http: update copy of http2 2015-10-21 00:28:55 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: set GOARM=7 2015-10-26 15:20:02 +00:00
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash
make.bat
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc