[clang] [llvm] __declspec(noshrinkwrap) support (PR #147397)

Adam Glass via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 7 15:57:29 PDT 2025


AdamGlass wrote:

Change isn't Windows specific -- seems generally useful.  You're right that it enshrines the functionality responsible rather than desire 'don't get cute with the prologue'.   I'm open to a better name.

re: __declspec() -- there is no compatibility requirement for this choice.   MSVC has an undocumented mechanism but it uses intrinsics while still having the same behavior as what's proposed here.  I'll look at how to enable the modern attribute style instead.

thanks!



https://github.com/llvm/llvm-project/pull/147397


More information about the llvm-commits mailing list