]> Cypherpunks repositories - gostls13.git/commit
runtime: pass LR to sigprof on windows/arm
authorJordan Rhee <jordanrh@microsoft.com>
Wed, 12 Dec 2018 19:28:46 +0000 (11:28 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 12 Dec 2018 23:17:48 +0000 (23:17 +0000)
commit1ca84deeb048ac8ab850f68eb84ee7811d957676
treeea9ac6ef347dd98ad573b97a73fbe23589d0e3ae
parent862ba63823e23202e50d7b756e37809c4eddf54b
runtime: pass LR to sigprof on windows/arm

TestCPUProfileLabel was failing on windows/arm because the link register
was not being passed to sigprof(). The link register is required to
generate a correct traceback. With this change, all tests in runtime.pprof
are now passing.

Updates #26148

Change-Id: Ia693b34278dc08a98023751ff1a922d9eee8fdd6
Reviewed-on: https://go-review.googlesource.com/c/153839
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/os_windows.go