diff --git a/go b/go index deeebf5655e..16ce8b3925d 160000 --- a/go +++ b/go @@ -1 +1 @@ -Subproject commit deeebf5655eeb91e93e60dbda5c3df294b4d5130 +Subproject commit 16ce8b3925deaeb72541ee96b6ee23a08fc21dea diff --git a/patches/0012-add-support-for-logging-used-Windows-APIs.patch b/patches/0012-add-support-for-logging-used-Windows-APIs.patch index b6494e06971..69ac90f4737 100644 --- a/patches/0012-add-support-for-logging-used-Windows-APIs.patch +++ b/patches/0012-add-support-for-logging-used-Windows-APIs.patch @@ -9,18 +9,18 @@ Subject: [PATCH] add support for logging used Windows APIs src/runtime/syscalltrace_generate_windows.go | 46 +++++++ src/runtime/syscalltrace_windows.go | 127 +++++++++++++++++++ src/runtime/syscalltrace_windows_test.go | 77 +++++++++++ - src/runtime/zsyscalltrace_windows.go | 59 +++++++++ - 6 files changed, 311 insertions(+) + src/runtime/zsyscalltrace_windows.go | 60 +++++++++ + 6 files changed, 312 insertions(+) create mode 100644 src/runtime/syscalltrace_generate_windows.go create mode 100644 src/runtime/syscalltrace_windows.go create mode 100644 src/runtime/syscalltrace_windows_test.go create mode 100644 src/runtime/zsyscalltrace_windows.go diff --git a/src/runtime/os_windows.go b/src/runtime/os_windows.go -index b5258bb57d1c5d..6273b9dba5d47e 100644 +index 4aabc29644e6f9..fc7296f28ab12f 100644 --- a/src/runtime/os_windows.go +++ b/src/runtime/os_windows.go -@@ -218,6 +218,7 @@ func windowsFindfunc(lib uintptr, name []byte) stdFunction { +@@ -222,6 +222,7 @@ func windowsFindfunc(lib uintptr, name []byte) stdFunction { if name[len(name)-1] != 0 { throw("usage") } @@ -29,7 +29,7 @@ index b5258bb57d1c5d..6273b9dba5d47e 100644 return stdFunction(unsafe.Pointer(f)) } diff --git a/src/runtime/syscall_windows.go b/src/runtime/syscall_windows.go -index 0b085835634284..2edeeb673cdec9 100644 +index f0e7661a1ba9e2..4485fe459cd749 100644 --- a/src/runtime/syscall_windows.go +++ b/src/runtime/syscall_windows.go @@ -435,6 +435,7 @@ func syscall_loadlibrary(filename *uint16) (handle, err uintptr) { @@ -310,10 +310,10 @@ index 00000000000000..31d1fc18bb8640 +} diff --git a/src/runtime/zsyscalltrace_windows.go b/src/runtime/zsyscalltrace_windows.go new file mode 100644 -index 00000000000000..70eb22628d6068 +index 00000000000000..4731d6fa34a29c --- /dev/null +++ b/src/runtime/zsyscalltrace_windows.go -@@ -0,0 +1,59 @@ +@@ -0,0 +1,60 @@ +// Code generated by syscalltrace_generate_windows.go. DO NOT EDIT. + +package runtime @@ -346,6 +346,7 @@ index 00000000000000..70eb22628d6068 + "LoadLibraryW\x00", + "PostQueuedCompletionStatus\x00", + "QueryPerformanceCounter\x00", ++ "QueryPerformanceFrequency\x00", + "RaiseFailFastException\x00", + "ResumeThread\x00", + "RtlLookupFunctionEntry\x00",