[llvm-commits] CVS: llvm/lib/CodeGen/MachineModuleInfo.cpp

Devang Patel dpatel at apple.com
Fri May 11 16:15:02 PDT 2007



Changes in directory llvm/lib/CodeGen:

MachineModuleInfo.cpp updated: 1.11 -> 1.12
---
Log message:

Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049516.html


---
Diffs of the changes:  (+1 -1)

 MachineModuleInfo.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/MachineModuleInfo.cpp
diff -u llvm/lib/CodeGen/MachineModuleInfo.cpp:1.11 llvm/lib/CodeGen/MachineModuleInfo.cpp:1.12
--- llvm/lib/CodeGen/MachineModuleInfo.cpp:1.11	Thu May 10 17:38:46 2007
+++ llvm/lib/CodeGen/MachineModuleInfo.cpp	Fri May 11 18:14:43 2007
@@ -1323,7 +1323,7 @@
     // Otherwise create and return a new string global.
     GlobalVariable *StrGV = new GlobalVariable(ConstStr->getType(), true,
                                                GlobalVariable::InternalLinkage,
-                                               ConstStr, "str", M);
+                                               ConstStr, ".str", M);
     StrGV->setSection("llvm.metadata");
     // Convert to generic string pointer.
     Slot = ConstantExpr::getBitCast(StrGV, getStrPtrType());






More information about the llvm-commits mailing list