diff --git a/doc/go1.22.html b/doc/go1.22.html index f21c774ef13..3c67dee3bb5 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -239,6 +239,17 @@ defer func() { build ID.
+
+ On Windows, when building with -linkmode=internal
, the linker now
+ preserves SEH information from C object files by copying the .pdata
+ and .xdata
sections into the final binary.
+ This helps with debugging and profiling binaries using native tools, such as WinDbg.
+ Note that until now, C functions' SEH exception handlers were not being honored,
+ so this change may cause some programs to behave differently.
+ -linkmode=external
is not affected by this change, as external linkers
+ already preserve SEH information.
+