Commit 363cd66d authored by Alessandro Arzilli's avatar Alessandro Arzilli Committed by Heschi Kreinick
Browse files

cmd/compile: assign correct declaration line to DIE of captured vars

Fixes the declaration line reported in the DW_AT_decl_line for
variables captured in a closure.

Fixes #36542

Change-Id: I228d32b57121fd62c4615c2ef71a6e8da616a1e2
Reviewed-on: https://go-review.googlesource.com/c/go/+/214637


Reviewed-by: default avatarHeschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
parent afd691c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment