[cfe-dev] support for parsing more GCC object-size checking builtins

Eli Friedman eli.friedman at gmail.com
Mon Sep 1 21:28:41 PDT 2008


On Mon, Sep 1, 2008 at 6:38 PM, Shantonu Sen <ssen at apple.com> wrote:
> This doesn't add codegen support, since there does not appear to be support
> for any of the other built-in string functions. But this is enough to allow
> checker to successfully parse my entire project.

I think the solution for these builtins would be to annotate them with
"F"; gcc seems to be okay with generating calls to __memset_chk.


The patch looks good; if you have commit access, feel free to commit.

-Eli



More information about the cfe-dev mailing list