On Wed, May 15, 2013 at 5:46 PM, Hannes Landeholm <span dir="ltr"><<a href="mailto:hannes@omnicloud.com" target="_blank">hannes@omnicloud.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>I just want to direct some attention to this bug as I just got hit by it and feel like it should be a one liner to fix if you know the clang source code. I don't so my attempt to figure out a patch failed. Right now it forces me to switch to another compiler and it would be a lot of work for me to do that.<br>
</div><div><br></div><div><a href="http://llvm.org/bugs/show_bug.cgi?id=16022" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=16022</a><br></div><div><br></div><div>The steps to reproduce is also really simple.</div>
<div><br>
</div><div>I would also be interested in someone knows of a workaround or can point me in the general direction of where the arguments are passed to the assembler in the clang source tree.</div></div></blockquote><div><br>
</div><div>Workaround: add -Xassembler before your -I arguments.</div><div><br></div><div>If you'd like to fix this, the relevant code is in lib/Driver/Tools.cpp; the right place is probably somewhere in the vicinity of the various Assemble::ConstructJob functions.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>
Thanks for reading,<img alt=""></div><div><div><div><p style="margin:0px">--</p><p style="margin:0px">Hannes Landeholm</p><p style="margin:0px"><br></p></div></div>
</div></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br>