From e872807e2b7d74ba4ac474e697027a9318439d04 Mon Sep 17 00:00:00 2001
From: qmuntal Linker
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.
+