[PATCH] Pass -I flags to the integrated assembler

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Nov 12 15:37:32 PST 2013


>> It seems from limited experimentation by Rafael and myself that GCC
>> implements #3. What should we implement for clang?
>
> Only in recent versions. My earlier question still stands -- what is the
> precendence. I wouldn't expect -I to be honoured, but I wouldn't expect
> something like .include to exist in the assembler either :)

It was added in gcc in r127275 (Aug 7, 2007).

The patch email is
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00069.html, so it does
look intentional and would probably be reasonable for clang to do the
same.

Cheers,
Rafael



More information about the cfe-commits mailing list