diff options
| author | Than McIntosh <thanm@google.com> | 2018-03-20 12:36:37 -0400 |
|---|---|---|
| committer | Than McIntosh <thanm@google.com> | 2018-03-20 18:56:52 +0000 |
| commit | f45c07e84ad17dcc4d927fb6571f81fc9fd99cdf (patch) | |
| tree | 25aaad52f2497315571f4686568bc42084f76289 /test/codegen | |
| parent | ae10914e67e6e99fec94b3d190558131a24ecd8e (diff) | |
| download | go-f45c07e84ad17dcc4d927fb6571f81fc9fd99cdf.tar.xz | |
cmd/compile: fix regression in DWARF inlined routine variable tracking
Fix a bug in the code that generates the pre-inlined variable
declaration table used as raw material for emitting DWARF inline
routine records. The fix for issue 23704 altered the recipe for
assigning file/line/col to variables in one part of the compiler, but
didn't update a similar recipe in the code for variable tracking.
Added a new test that should catch problems of a similar nature.
Fixes #24460.
Change-Id: I255c036637f4151aa579c0e21d123fd413724d61
Reviewed-on: https://go-review.googlesource.com/101676
Reviewed-by: Alessandro Arzilli <alessandro.arzilli@gmail.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Diffstat (limited to 'test/codegen')
0 files changed, 0 insertions, 0 deletions
