[PATCH] D28820: Warn when calling a non interrupt function from an interrupt on ARM

Jonathan Roelofs via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 18 07:40:14 PST 2017


jroelofs added a comment.

In https://reviews.llvm.org/D28820#649384, @rengolin wrote:

> Seems like a very specific corner case on ARM, but is that attribute guaranteed to be ARM-only?
>
> If so, LGTM as is. If not, avoid mentioning "VFP" on the error message.


Yeah, the attribute is parsed in a target-specific way, so this warning as written won't match on other arches even though mips/x86 have their own similar spellings of it.


https://reviews.llvm.org/D28820





More information about the cfe-commits mailing list