Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update submodule to latest master in microsoft/main #1212

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go
Submodule go updated 56 files
+3 −1 doc/README.md
+1 −4 src/cmd/go/internal/par/work.go
+12 −10 src/encoding/json/encode.go
+1 −4 src/expvar/expvar.go
+3 −2 src/go/build/deps_test.go
+274 −0 src/internal/filepathlite/path.go
+1 −1 src/internal/filepathlite/path_nonwindows.go
+41 −0 src/internal/filepathlite/path_plan9.go
+43 −0 src/internal/filepathlite/path_unix.go
+329 −0 src/internal/filepathlite/path_windows.go
+7 −0 src/internal/poll/sendfile.go
+3 −0 src/internal/poll/sendfile_bsd.go
+3 −0 src/internal/poll/sendfile_linux.go
+3 −0 src/internal/poll/sendfile_solaris.go
+3 −0 src/internal/poll/sendfile_windows.go
+2 −0 src/internal/runtime/atomic/atomic_andor_test.go
+0 −26 src/internal/safefilepath/path.go
+0 −14 src/internal/safefilepath/path_plan9.go
+0 −16 src/internal/safefilepath/path_unix.go
+0 −136 src/internal/safefilepath/path_windows.go
+124 −0 src/internal/stringslite/strings.go
+11 −0 src/internal/syscall/windows/syscall_windows.go
+2 −2 src/internal/weak/pointer.go
+6 −5 src/make.bash
+6 −5 src/make.rc
+3 −10 src/mime/type.go
+5 −14 src/net/lookup_plan9.go
+4 −0 src/net/lookup_test.go
+2 −0 src/net/sendfile_linux.go
+3 −1 src/net/sendfile_stub.go
+68 −3 src/net/sendfile_test.go
+11 −2 src/net/sendfile_unix_alt.go
+2 −0 src/net/sendfile_windows.go
+16 −0 src/net/url/url.go
+3 −3 src/os/dir.go
+0 −1 src/os/export_linux_test.go
+2 −2 src/os/file.go
+12 −21 src/os/writeto_linux_test.go
+1 −2 src/os/zero_copy_linux.go
+2 −1 src/path/filepath/match.go
+19 −199 src/path/filepath/path.go
+3 −16 src/path/filepath/path_plan9.go
+3 −16 src/path/filepath/path_unix.go
+3 −197 src/path/filepath/path_windows.go
+5 −4 src/path/filepath/symlink.go
+16 −0 src/runtime/os_windows.go
+26 −24 src/slices/slices.go
+8 −92 src/strings/strings.go
+4 −4 src/testing/benchmark.go
+4 −0 src/testing/export_test.go
+5 −5 src/testing/fuzz.go
+14 −14 src/testing/testing.go
+18 −0 src/testing/testing_other.go
+38 −0 src/testing/testing_windows.go
+25 −0 src/testing/testing_windows_test.go
+4 −1 src/time/time.go
15 changes: 8 additions & 7 deletions patches/0012-add-support-for-logging-used-Windows-APIs.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand All @@ -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) {
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -346,6 +346,7 @@ index 00000000000000..70eb22628d6068
+ "LoadLibraryW\x00",
+ "PostQueuedCompletionStatus\x00",
+ "QueryPerformanceCounter\x00",
+ "QueryPerformanceFrequency\x00",
+ "RaiseFailFastException\x00",
+ "ResumeThread\x00",
+ "RtlLookupFunctionEntry\x00",
Expand Down