]> Cypherpunks repositories - gostls13.git/commit
debug/dwarf: add test for split DWARF
authorAustin Clements <austin@google.com>
Sun, 13 Sep 2015 16:49:05 +0000 (12:49 -0400)
committerAustin Clements <austin@google.com>
Tue, 15 Sep 2015 17:57:56 +0000 (17:57 +0000)
commit2cbd7072b18d7eb01c51ff05c7e12ca2bd555d01
tree13e3f9bb4941e0e618e16e247805afdc3f73ceba
parent6044dd098d93d12c26ae8378a6c99338350e8280
debug/dwarf: add test for split DWARF

This adds a test that debug/dwarf can read the skeleton DWARF data
from a split DWARF image (though it doesn't currently support piecing
the external DWARF data back together). This should work because
there's nothing particularly different about skeleton DWARF data, but
previously failed because of poor handling of unrecognized attributes.

Updates #12592.

Change-Id: I2fc5f4679883b05ebd7ec9f0b5c398a758181a32
Reviewed-on: https://go-review.googlesource.com/14542
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: jcd . <jcd@golang.org>
src/debug/dwarf/entry_test.go [new file with mode: 0644]
src/debug/dwarf/testdata/split.c [new file with mode: 0644]
src/debug/dwarf/testdata/split.elf [new file with mode: 0644]