diff options
| author | qmuntal <quimmuntal@gmail.com> | 2023-10-11 16:52:40 +0200 |
|---|---|---|
| committer | Quim Muntal <quimmuntal@gmail.com> | 2023-11-09 19:01:27 +0000 |
| commit | 3aa2823d8b2c96d01980cca277f6cf7923db229f (patch) | |
| tree | 975e45982a18658b737fbe8b688016b0c068734f /src/runtime/msize_allocheaders.go | |
| parent | 96eeb4512bd045a2c247f6ebcce46b7e443206e7 (diff) | |
| download | go-3aa2823d8b2c96d01980cca277f6cf7923db229f.tar.xz | |
cmd/internal/link: merge .pdata and .xdata sections from host object files
The Go linker doesn't currently merge .pdata/.xdata sections from the
host object files generated by the C compiler when using internal
linking. This means that the stack can't be unwind in C -> Go.
This CL fixes that and adds a test to ensure that the stack can be
unwind in C -> Go and Go -> C transitions, which was not well tested.
Updates #57302
Change-Id: Ie86a5e6e30b80978277e66ccc2c48550e51263c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/534555
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/runtime/msize_allocheaders.go')
0 files changed, 0 insertions, 0 deletions
