]> gcc.gnu.org Git - gcc.git/commit
runtime: fix sigprof frame counting
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 29 Jan 2019 15:31:10 +0000 (15:31 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 29 Jan 2019 15:31:10 +0000 (15:31 +0000)
commit6065f1c5889159c9fa1b6c74726d04fc9abea9fe
treefc8bafc955762ebe803bb67f0b2813659c95f935
parentfac31afe6a8ee178de0662353dbd6f2cc5ab3556
runtime: fix sigprof frame counting

    If sigtramp and sigtrampgo are both on stack, n -= framesToDiscard
    is executed twice, which should actually run only once.

    Reviewed-on: https://go-review.googlesource.com/c/159238

From-SVN: r268366
gcc/go/gofrontend/MERGE
libgo/go/runtime/proc.go
This page took 0.059569 seconds and 5 git commands to generate.