- Notifications
You must be signed in to change notification settings - Fork18.4k
Commit1636761
committed
[release-branch.go1.3] cmd/ld: fix PC deltas in DWARF line number table
««« CL 104950045 / 87daa424d96acmd/ld: fix PC deltas in DWARF line number tableThe putpclcdelta function set the DWARF line number PC tos->value + pcline->pc, which is correct, but the code then setthe local variable pc to epc, which can be a different value.This caused the next delta in the DWARF table to be wrong.Fixes#8098.LGTM=rscR=rscCC=golang-codereviewshttps://golang.org/cl/104950045»»»LGTM=rR=golang-codereviews, rCC=bradfitz, golang-codereviews, ianthttps://golang.org/cl/1079000451 parentcbffba1 commit1636761
1 file changed
+2
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1624 | 1624 |
| |
1625 | 1625 |
| |
1626 | 1626 |
| |
1627 |
| - | |
| 1627 | + | |
| 1628 | + | |
1628 | 1629 |
| |
1629 | 1630 |
| |
1630 | 1631 |
| |
1631 | 1632 |
| |
1632 | 1633 |
| |
1633 |
| - | |
1634 | 1634 |
| |
1635 | 1635 |
| |
1636 | 1636 |
| |
|
0 commit comments
Comments
(0)