[cfe-dev] Bug 16022 - Clang ignores include path arguments when compiling assembly files
richard at metafoo.co.uk
Wed May 15 17:57:50 PDT 2013
On Wed, May 15, 2013 at 5:46 PM, Hannes Landeholm <hannes at omnicloud.com>wrote:
> 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.
> The steps to reproduce is also really simple.
> 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.
Workaround: add -Xassembler before your -I arguments.
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
> Thanks for reading,
> Hannes Landeholm
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev