aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-05-11 23:14:43 +0000
committerDevang Patel <dpatel@apple.com>2007-05-11 23:14:43 +0000
commit1e4c23a2d192479d264e2028843f204de2658cda (patch)
treeb4862f2eca5b754572f94b5143d476693d8467c8 /lib/CodeGen/MachineModuleInfo.cpp
parent2194ad9067fb6a42944443bb8cb455f25a6a1473 (diff)
downloadexternal_llvm-1e4c23a2d192479d264e2028843f204de2658cda.zip
external_llvm-1e4c23a2d192479d264e2028843f204de2658cda.tar.gz
external_llvm-1e4c23a2d192479d264e2028843f204de2658cda.tar.bz2
Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049516.html
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36998 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r--lib/CodeGen/MachineModuleInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp
index 185f348..9d532ad 100644
--- a/lib/CodeGen/MachineModuleInfo.cpp
+++ b/lib/CodeGen/MachineModuleInfo.cpp
@@ -1323,7 +1323,7 @@ Constant *DISerializer::getString(const std::string &String) {
// 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());