]> git.ipfire.org Git - thirdparty/gcc.git/commit
runtime: fix sigprof frame counting
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jan 2019 15:31:10 +0000 (15:31 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jan 2019 15:31:10 +0000 (15:31 +0000)
commit780422ff1b01419be4a683dd6aa11494305f7354
treefc8bafc955762ebe803bb67f0b2813659c95f935
parentb4371b277f1e49931791a57ba052075a33e26a5c
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268366 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/runtime/proc.go