[PATCH] Pass -I flags to the integrated assembler

Joerg Sonnenberger joerg at britannica.bec.de
Tue Nov 12 14:29:34 PST 2013


On Tue, Nov 12, 2013 at 01:03:32PM -0800, David Peixotto wrote:
> It looks like -Wa,-Ifoo is not supported by current clang:
> 
>   $ clang -c test/ias.s  -Ifoo_dir -integrated-as -target x86 -Wa,-I -###
> 2>&1 | grep -- -I                             
>   clang: error: unsupported argument '-I' to option 'Wa,'

Correct, nothing claims the option, so it complains.
Look for CollectArgsForIntegratedAssembler in Tools.cpp.

Joerg



More information about the cfe-commits mailing list