diff options
| author | Jeremy Faller <jeremy@golang.org> | 2020-08-12 16:37:42 -0400 |
|---|---|---|
| committer | Jeremy Faller <jeremy@golang.org> | 2020-08-13 16:47:01 +0000 |
| commit | 954db9fe51154e5d4663c0c1a62c82a99eef1ed4 (patch) | |
| tree | 3f154be652bb4a5dead99b70dd465776d73bcccc /src/database/sql/sql_test.go | |
| parent | b249703e3c53cd7f1e5f808fb2f03714fec44b43 (diff) | |
| download | go-954db9fe51154e5d4663c0c1a62c82a99eef1ed4.tar.xz | |
[dev.link] debug/gosym: fix file mappings
CL 246497 introduced bugs in gosym that the long tests caught. These two
bugs were:
1) In 1.16, 0 is now a valid file number from pcfile tables.
2) Also, in 1.16, when we scan all functions looking for a pc/file pair,
the values returned from pcfile are no longer the direct offset into
the file table. Rather, the values from pcfile are the offset into
the cu->file look-up table.
This CL fixes those two issues.
Change-Id: I0cd280bdcaeda89faaf9fac41809abdb87734499
Reviewed-on: https://go-review.googlesource.com/c/go/+/248317
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions
