[llvm-commits] setAssembler method in MCOobjectStreamer

Jan Sjodin jan_sjodin at yahoo.com
Thu Mar 3 12:52:27 PST 2011


This patch adds a function to set the assembler in the MCObjectStreamer, we may 
not want to use the default Writer, which means the Assembler has to be removed 
or modified.
There are two alternatives to this patch:

1. Create another constructor (both for MCObjectStreamer and MCELFStreamer) 
which takes the Writer as an argument.
2. Add a method to the MCAssembler to replace the Writer. 

If one of the alternatives is preferred to this patch, I can do it that way 
instead.

- Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0043_setassembler.patch
Type: application/octet-stream
Size: 1063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110303/e6f8915b/attachment.obj>


More information about the llvm-commits mailing list