[PATCH] D32330: X86: Don't emit zero-byte functions on Windows

Michael Kuperstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 17:51:57 PDT 2017


mkuper added a comment.

What does MSVC do for this? Is MSVC's behavior predicated on /guard:cf? Is it ok to generate empty functions without /guard:cf? Crash on calling an empty function seems like somewhat non-intuitive behavior.
Also, what about thumbv7-windows?


https://reviews.llvm.org/D32330





More information about the llvm-commits mailing list