[cfe-commits] r93808 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Devang Patel dpatel at apple.com
Mon Jan 18 15:27:28 PST 2010


Author: dpatel
Date: Mon Jan 18 17:27:28 2010
New Revision: 93808

URL: http://llvm.org/viewvc/llvm-project?rev=93808&view=rev
Log:
llvm::Function name is the linkage name. If it has a '01' as a prefix then probably there is a reason. 

Modified:
    cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=93808&r1=93807&r2=93808&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Mon Jan 18 17:27:28 2010
@@ -1008,9 +1008,6 @@
   } else {
     // Use llvm function name as linkage name.
     Name = Fn->getName();
-    // Skip the asm prefix if it exists.
-    if (Name[0] == '\01')
-      Name = Name.substr(1);
     LinkageName = Name;
   }
 





More information about the cfe-commits mailing list