>> My only concern is it won't look as pleasant if the function name is
>> long.
> 
> Which happens with C++ mangled names all the time :(
> 
> a potentially solution to this (which may be over complex :) is to  
> have two options:
> 
> 1. if the name is short, print it as you propose.
> 2. if the name is long, print it with a number and optionally with a  
> subset of the name (last 10 chars?)
> 
> This could be implemented by just adding a new ivar like  
> CurrentFunctionName that holds this.

I think that is over complex :). C++ mangled names are ok with me here,
but if they're unpleasant for others that's fine.

Dan

-- 
Dan Gohman, Cray Inc.
_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to