[cfe-commits] r98021 - in /cfe/trunk/lib/CodeGen: CGDebugInfo.cpp CGDebugInfo.h

Devang Patel dpatel at apple.com
Tue Mar 9 11:14:52 PST 2010


On Mar 9, 2010, at 7:20 AM, Sylvere Teissier wrote:

>> +  return DebugFactory.CreateFile(AbsFileName.getBasename(), 
>> +                                 AbsFileName.getDirname(), TheCU);
>> +}
> 
> Are you sure that you want the filename to be the basename ? (without
> suffix)
> 
> I think it should be:
> return DebugFactory.CreateFile(AbsFileName.getLast(),
>                               AbsFileName.getDirname(), TheCU);

Yes. Fixed.
Thanks for noticing this.
-
Devang



More information about the cfe-commits mailing list