The COFF linker automatically sets the IMAGE_DLL_CHARACTERISTICS_NO_SEH when suitable, similarly to link.exe.
(This description only is correct as long as D41252 is merged first, but I guess this change in itself could be merged independently.)
Differential D41275
[LLD] [MinGW] Ignore the --no-seh flag mstorsjo on Dec 15 2017, 12:07 AM. Authored by
Details The COFF linker automatically sets the IMAGE_DLL_CHARACTERISTICS_NO_SEH when suitable, similarly to link.exe. (This description only is correct as long as D41252 is merged first, but I guess this change in itself could be merged independently.)
Diff Detail Event TimelineComment Actions lgtm I think LLD's current behavior will make things "just work" in as many cases as possible. We could consider adding a warning when there were .sxdata sections present in the input, but no _load_config_used symbol was found. This indicates that there *were* structured exception handlers, but there was no load config to point to the safe SEH table. |