]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: clean up buggy DWARF inlined info PC ranges
authorThan McIntosh <thanm@google.com>
Mon, 17 Aug 2020 18:17:07 +0000 (14:17 -0400)
committerThan McIntosh <thanm@google.com>
Tue, 17 Nov 2020 21:53:08 +0000 (21:53 +0000)
commit05082c90d5b35935ccc27acb070e00702df91a3a
tree3ba0aa2f6a33886dca3b8058351ef36b64b3b7b3
parent01df2febf5f00b1dcba1843093ef99b338b23546
cmd/compile: clean up buggy DWARF inlined info PC ranges

Repair the code that generates PC ranges for DWARF inlined routine
instances to insure that if II Y is a child of II X within the inline
tree, X's ranges include the ranges from Y. This is similar to what
we're already doing for DWARF scopes.

Updates #33188.

Change-Id: I9bb552777fcd1ae93dc01872707667ad092b1dd9
Reviewed-on: https://go-review.googlesource.com/c/go/+/248724
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
Trust: Than McIntosh <thanm@google.com>
src/cmd/compile/internal/gc/dwinl.go
src/cmd/internal/dwarf/dwarf.go