[llvm-commits] [llvm] r75619 - in /llvm/trunk/lib: CodeGen/AsmPrinter/AsmPrinter.cpp Target/DarwinTargetAsmInfo.cpp

Evan Cheng evan.cheng at apple.com
Mon Jul 13 23:27:07 PDT 2009


On Jul 13, 2009, at 11:21 PM, Chris Lattner wrote:

>
> +  /// FIXME: WHAT IS THIS?
> +
>   if (GV->hasLocalLinkage() && !isa<Function>(GV) &&
>       ((strlen(getPrivateGlobalPrefix()) != 0 &&
> -        Mang->getValueName(GV).substr(0,strlen 
> (getPrivateGlobalPrefix())) ==
> +        Mang->getMangledName(GV).substr(0,strlen 
> (getPrivateGlobalPrefix())) ==
>           getPrivateGlobalPrefix()) ||
>        (strlen(getLessPrivateGlobalPrefix()) != 0 &&
> -        Mang->getValueName(GV).substr(0,strlen 
> (getLessPrivateGlobalPrefix())) ==
> +        Mang->getMangledName(GV).substr(0,
> +                                        strlen 
> (getLessPrivateGlobalPrefix())) ==
>           getLessPrivateGlobalPrefix())))

Dale, I think you added "less private global". Do you remember?

Thanks,

Evan

>     return false;
>   return true;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list