diff options
author | Devang Patel <dpatel@apple.com> | 2007-05-11 23:14:43 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-05-11 23:14:43 +0000 |
commit | 79a71ec3adea7678823982148ee03bbb21ffe33f (patch) | |
tree | 80668ef1b650137c71be84db04620a5b14d03e46 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 1b9349d1901d5ed634cc51e7666482101839aa87 (diff) | |
download | bcm5719-llvm-79a71ec3adea7678823982148ee03bbb21ffe33f.tar.gz bcm5719-llvm-79a71ec3adea7678823982148ee03bbb21ffe33f.zip |
Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049516.html
llvm-svn: 36998
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineModuleInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp index 185f348e0a2..9d532add1a0 100644 --- a/llvm/lib/CodeGen/MachineModuleInfo.cpp +++ b/llvm/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()); |