<div dir="ltr">What would be the difference between shelling out to clang -cc1as or simply doing a no-op on -no-integrated-as?<div><br></div><div>We could also start not allowing clang (on OS X) to emit directives by default if the latest Xcode-shipped clang doesn't handle them. That is: Maybe we should say what the “ground truth” for MachO/OSX is, and which tools outside of llvm we should try to be compatible with.</div><div><br></div><div>This whole problem is due to clang emitting ".macosx_version_min" and other directives by default, and the latest Xcode-provided clang/as -q not handling them.</div><div><br></div><div>Rafael: Yes, AFAICT that is the only case that is broken (and without the -c, but that's basically the same case).<br><div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">  Filipe<br></div></div>
<br><div class="gmail_quote">On Thu, Jan 22, 2015 at 10:56 AM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> If cctools as isn't supported, perhaps we should make -no-integrated-as<br>
> shell out to `clang -cc1as` on Darwin. Users may be relying on<br>
> -no-integrated-as implying cctools as quirks, though.<br>
<br>
</span>It is probably a good idea. Since cctools' as can't handle clang<br>
output, the only use case that might be broken by the change is "clang<br>
-c -no-integrated-as foo.s", no?<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers,<br>
Rafael<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div></div></div></div>