[PATCH] D61670: [RFC] [MinGW] Allow opting out from .refptr stubs
Martin Storsjö via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 8 11:45:34 PDT 2019
mstorsjo added a comment.
Fair enough.
On GCC, where the mingw x86_64 default code model is medium, switching it to small gave a small but not insignificant save in code size (around 9KB on a 1,3 MB DLL). On clang, where the default code model is small, getting rid of the extra refptrs didn't gain more than around 512 bytes on the same DLL. So I think it's fair to say this change isn't really important, especially not with the iffy handling of code model that it requires.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61670/new/
https://reviews.llvm.org/D61670
More information about the cfe-commits
mailing list