[llvm-commits] [llvm] r96286 - /llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp

Anton Korobeynikov asl at math.spbu.ru
Mon Feb 15 14:36:26 PST 2010


Author: asl
Date: Mon Feb 15 16:36:26 2010
New Revision: 96286

URL: http://llvm.org/viewvc/llvm-project?rev=96286&view=rev
Log:
Add suffix for stubs, so we won't have name clashes with private symbols.

Modified:
    llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp

Modified: llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp?rev=96286&r1=96285&r2=96286&view=diff

==============================================================================
--- llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp (original)
+++ llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp Mon Feb 15 16:36:26 2010
@@ -706,6 +706,7 @@
 
     SmallString<128> Name;
     Mang->getNameWithPrefix(Name, GV, true);
+    Name += ".DW.stub";
 
     // Add information about the stub reference to ELFMMI so that the stub
     // gets emitted by the asmprinter.





More information about the llvm-commits mailing list