<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Thanks.</span><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:13px"><br></div><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:13px">
This was a solution I figured was possible (by sending the arguments directly to the assembler) but I couldn't find any documentation about it.</div><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:13px">
<br></div><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:13px">I will see if I have time to create a patch myself. I solved it by switching to "as" for now.</div><div class="gmail_extra">
<div><div><img src="https://mail.google.com/mail/images/cleardot.gif" alt=""></div><div><div><p style="margin:0px">--</p><p style="margin:0px">Hannes Landeholm</p></div></div></div>
<br><br><div class="gmail_quote">On Thu, May 16, 2013 at 2:57 AM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk" target="_blank">richard@metafoo.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">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></div><div class="gmail_quote">
<div><div class="h5"><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></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 class="im"><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></div>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">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>
</blockquote></div><br></div></div>