[PATCH] D24193: Allow variables with asm labels in naked functions

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 12 10:54:12 PDT 2016


hans accepted this revision.
hans added a comment.
This revision is now accepted and ready to land.

lgtm

I'm a little bit worried that we've started down a slippery slope of deciding what is and isn't allowed in naked functions (for example, some initializers could be allowed if we're sure they don't require stack). But I suppose this isn't making anything worse, and if it helps compile real-world code, that's good.


https://reviews.llvm.org/D24193





More information about the cfe-commits mailing list