[LLVMdev] allocation_order_begin takes non-const reference for MachineFunction

Ralph Corderoy ralph at inputplus.co.uk
Thu Aug 17 03:11:56 PDT 2006


Hi Chris,

> On Wed, 16 Aug 2006, Anton Vayvod wrote:
> > I'm willing :) I don't know how to do it.  What's "to put together a
> > patch"? :)
> 
> In your local CVS tree, change the methods to be const, and adjust any
> code that is neccesary for that to work.  Once that is done, from the
> top level, type 'cvs diff -u >& patch.txt' and attach patch.txt to an
> email.
> 
> If you're using sh instead of csh, use 'cvs diff -u 2>&1 > patch.txt'.

The sh equivalent of that csh is

    cvs diff -u >patch.txt 2>&1

The first duplicates stderr onto stdout and then changes stdout to be
patch.txt leaving stderr to go to wherever stdout used to go.  The
second changes stdout to be patch.txt and then duplicates stderr to go
there too.  This flexibility is one of sh's advantages over csh.  ;-)

Cheers,


Ralph.





More information about the llvm-dev mailing list