[LLVMdev] small bug in print function for arguments

Chris Lattner sabre at nondot.org
Thu Jun 17 23:15:01 PDT 2004


On Thu, 17 Jun 2004, Patrick Meredith wrote:

> The print function for function arguments doesn't print the '%' in front
> of the argument name.  So instead of say, int %i, it prints it out as
> int i.  I know Value::getName() drops the % because it's not part of the
> name, but it seems like for printing an argument it should add the %
> back in.

Hrm, that's odd.  Fixed:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040614/015273.html

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list