<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>