[PATCH] Pass -I flags to the integrated assembler

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


> Ok, to summarize the discussion so far, the options are:
>
> 1. Pass -I args to both the integrated assembler (my current patch) and
> external assembler (need to fix bug in current clang to pass -I when
> directly invoking as).
>
> 2. Change -Wa to accept -I
>
> 3. Both 1+2
>
> It seems from limited experimentation by Rafael and myself that GCC
> implements #3. What should we implement for clang?
>
> I think I am in favor of option 3 because it gives some flexibility for
> passing arguments to the assembler, maintains the same behavior when using
> an integrated or external assembler, and is compatible with gcc behavior.

We should really fix 2. I have no objections to fixing 1 too.

Cheers,
Rafael



More information about the cfe-commits mailing list