[clang] [lld] [Clang][MinGW] Pass --functionpadmin to the linker when -fms-hotpatch is used (PR #116512)
Jacek Caban via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 16 14:25:10 PST 2024
cjacek wrote:
This PR depends on #116511.
It updates `-fms-hotpatch` to behave similarly during linking as it does in MSVC mode. However, one limitation remains: object files are marked as hotpatchable through CodeView data, so this is only effective when `-gcodeview` is enabled. This is similar to the behavior of Clang in MSVC mode when debug info is not enabled. MSVC seems to always emit `S_COMPILE3`, even when debug info is disabled (in which case, it does not emit any other debug information).
https://github.com/llvm/llvm-project/pull/116512
More information about the llvm-commits
mailing list