diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-12-03 13:40:02 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-12-09 16:01:47 +0100 |
commit | 450189162e15c813713b5c3a5208bdb6380c17f8 (patch) | |
tree | 40c4d93b70a705f50559a72aac135b6a6129336e /go-patches/0012-runtime-adjust-address-calculation-in-identifying-ab.patch | |
parent | manager: use service subscriptions on win 8+ (diff) | |
download | wireguard-windows-450189162e15c813713b5c3a5208bdb6380c17f8.tar.xz wireguard-windows-450189162e15c813713b5c3a5208bdb6380c17f8.zip |
ringlogger: hook into global panic writer
This is a grotesque hack, and hopefully upstream Go will provide a nicer
way of doing this, but already it seems quite adept at catching panics.
See https://github.com/golang/go/issues/42888 for more info.
This requires us to rewrite the ringlogger path to avoid all
allocations.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'go-patches/0012-runtime-adjust-address-calculation-in-identifying-ab.patch')
-rw-r--r-- | go-patches/0012-runtime-adjust-address-calculation-in-identifying-ab.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go-patches/0012-runtime-adjust-address-calculation-in-identifying-ab.patch b/go-patches/0012-runtime-adjust-address-calculation-in-identifying-ab.patch index 2f3954db..38fcbb9b 100644 --- a/go-patches/0012-runtime-adjust-address-calculation-in-identifying-ab.patch +++ b/go-patches/0012-runtime-adjust-address-calculation-in-identifying-ab.patch @@ -1,7 +1,7 @@ From 8ec41fee1e6ef074ef74e56fe079c70c8a1d0548 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" <Jason@zx2c4.com> Date: Fri, 27 Nov 2020 22:07:23 +0100 -Subject: [PATCH 12/13] runtime: adjust address calculation in identifying +Subject: [PATCH 12/14] runtime: adjust address calculation in identifying abort on windows/arm Apparently we're being called on arm 1 byte off, just like on 386 and |