Update for Go 1.3.1

I decided to vendor all debug/dwarf and debug/elf files so that the
project can be go get-table. All changes that I am waiting to land in Go
1.4 are now captured in /vendor/debug/*.
This commit is contained in:
Derek Parker
2014-09-13 12:28:46 -05:00
parent 6ae71169ed
commit f1e5a70a4b
31 changed files with 5088 additions and 28 deletions

View File

@ -11,6 +11,10 @@ func DecodeULEB128(buf *bytes.Buffer) (uint64, uint32) {
length uint32
)
if buf.Len() == 0 {
return 0, 0
}
for {
b, err := buf.ReadByte()
if err != nil {
@ -42,6 +46,10 @@ func DecodeSLEB128(buf *bytes.Buffer) (int64, uint32) {
length uint32
)
if buf.Len() == 0 {
return 0, 0
}
for {
b, err = buf.ReadByte()
if err != nil {