]> Cypherpunks repositories - gostls13.git/commit
debug/elf: retain original error message when getSymbols fails.
authorFlorin Papa <fpapa@google.com>
Fri, 7 May 2021 00:17:59 +0000 (17:17 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 10 Sep 2021 17:13:40 +0000 (17:13 +0000)
commit1bf2cd1291b5287045d3efd975870897fa03ac1f
tree8d94b783cb6c050f5ec1a3d9dc14e7cd24667c64
parent5a4b9f9494bad1091f2f9cb777aed54293b647d3
debug/elf: retain original error message when getSymbols fails.

The original error is currently discarded, and that makes it difficult
to know what failed, in case we want to retry only certain errors.

Change-Id: Id7e927ec242464249c4dfa5cda0f264adef3c898
Reviewed-on: https://go-review.googlesource.com/c/go/+/317851
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Than McIntosh <thanm@google.com>
src/debug/elf/file.go