[dragonegg PATCH] Add support for using the integrated assembler

Peter Collingbourne peter at pcc.me.uk
Fri Mar 29 02:17:07 PDT 2013


On Fri, Mar 29, 2013 at 10:00:20AM +0100, Duncan Sands wrote:
> Hi Peter,
>
> On 29/03/13 09:20, Peter Collingbourne wrote:
>> 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.
>
> this is great, thanks for working out how to do this.  The patch looks good,
> please apply it!

Thanks, r178338.

-- 
Peter



More information about the llvm-commits mailing list