<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><blockquote type="cite"><div>On Jun 27, 2014, at 4:18 AM, Chandler Carruth <<a href="mailto:chandlerc@gmail.com">chandlerc@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 7:03 PM, Ben Langmuir <span dir="ltr"><<a href="mailto:blangmuir@apple.com" target="_blank">blangmuir@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":49l" class="a3s" style="overflow:hidden">We have these kinds of checks in a lot of the other Driver tests. Should we update those as well (in general, not necessarily for this patch)?<br>
</div></blockquote></div><br>There are good ways to check for the binary name and sometimes a need to check them. When you nee to do this, you can just pass '-no-canonical-prefixes' and it works fine. The reason for trouble without that is that the canonical path may not end in "clang" in the face of symlinks, etc.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">However, if you are checking for "-cc1" as the anchor point in the command line, it doesn't seem to add lots of value to also look for the binary name.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">I don't think we need to fix this eagerly though -- most of the files seem to be working fine as-is.</div></div></div></blockquote><div><br></div><div>SGTM, thanks for the explanation.</div><div><br></div><div>Ben</div><br><blockquote type="cite">
_______________________________________________<br>cfe-commits mailing list<br><a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br></blockquote></div><br></body></html>