[PATCH] D13318: Add a utility function to add target information to a command line
Manuel Klimek via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 1 00:53:48 PDT 2015
klimek added a comment.
In http://reviews.llvm.org/D13318#257091, @echristo wrote:
> This seems a little odd, could you explain in a bit more detail? Me not
> understanding I imagine. :)
Seems to be explained well in the comments?
If the compilation database contains:
i686-linux-android-g++ <flags> <file>
Then <file> might only be correctly parseable with the target implied; usually the driver figures that out from argv[0], but for tools, argv[0] is the tool name.
http://reviews.llvm.org/D13318
More information about the cfe-commits
mailing list