[cfe-dev] Command line encoding in JSON Compilation Database

Manuel Klimek klimek at google.com
Fri Jul 6 10:54:03 PDT 2012


On Fri, Jul 6, 2012 at 9:39 AM, Florian Weimer <fweimer at redhat.com> wrote:

> According to http://clang.llvm.org/docs/JSONCompilationDatabase.html,
> the JSON Compilation Database uses a single string to describe the
> actual compile command, and not an array.  Is this string subject to any
> kind of shell expansion?  How is it supposed to be parsed into an argv
> array?
>

I thought I remembered that we had a discussion around exactly this
question, but I can't find it any more =[ I have that thought at the back
of my head that we wanted to do this, but there was a really good reason
why not to do it.

In general, I agree with what Chandler says.

Cheers,
/Manuel


>
> --
> Florian Weimer / Red Hat Product Security Team
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120706/8e1d0503/attachment.html>


More information about the cfe-dev mailing list