[cfe-dev] User manual, and GCC functions not implemented

Renato Golin renato.golin at linaro.org
Sat Jul 26 02:27:05 PDT 2014


Hi Jeffrey,

It'd be great if you could submit a patch to the document. Indeed,
"this is a complex feature" is not *at all* the reason why it's never
going into Clang.

When reviewing your patch, I hope other people will chime in and give
their reasons why that's a bad idea and we'd have a *much* better
document.

Thanks for looking into this.

--renato

On 25 July 2014 17:43, Jeffrey Walton <noloader at gmail.com> wrote:
> http://clang.llvm.org/docs/UsersManual.html#gcc-extensions-not-implemented-yet
>
> "clang does not support nested functions; this is a complex feature..."
>
> That is bitter sweet. I need it because a library I'm building uses
> them (but I'd prefer the library not use them).
>
> The devs might consider adding text to the statements: in addition to
> being complex, it also breaks No-Exec Stacks because a trampoline is
> placed on the stack (assuming Clang would have a similar
> implementation to GCC). I think the security posture is more important
> than feature complexity ;)
>
> And the devs might consider adding this text to the statements: Clang
> has no plans to implement the feature. See Bug 6378,
> http://www.llvm.org/bugs/show_bug.cgi?id=6378.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev



More information about the cfe-dev mailing list