krememek added a comment. In http://reviews.llvm.org/D10356#216741, @honggyu.kim wrote:
> I have updated the new patchset with more information in help message and > changed the option name to —analyzer-target. > If you think the "extra flags to pass to the compiler” is still needed, I > will write another patch for that. > I appreciate your comment and suggestion. What I am getting at is that I’m not convinced this is a good option to add to scan-build. Doing cross-compilation accurately involves many factors beyond just passing the target triple. The build itself probably needs to be setup to do a cross-compile. If that is the case, this really seems like jerry-rigging something into scan-build to facilitate a set of experiments, but not necessarily enable a new workflow for analyzing cross-compiled projects. http://reviews.llvm.org/D10356 _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits