[dragonegg PATCH] Add support for using the integrated assembler

Peter Collingbourne peter at pcc.me.uk
Fri Mar 29 01:20:18 PDT 2013


On Fri, Mar 29, 2013 at 09:04:43AM +0100, Duncan Sands wrote:
> Hi Peter,
>
>> Attached patch adds support for using the integrated assembler.
>
> how does this work, i.e. how does it manage to stop gcc from passing the
> assembled output to the system assembler?

The included specs file overrides the invoke_as spec (which is normally
used to pipe the assembler onto the frontend if -S is not supplied --
grep for invoke_as in the gcc sources) to replace the pipe with just
a flag requesting object emission and a -o flag for the object file.

Thanks,
-- 
Peter



More information about the llvm-commits mailing list