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 | 1e4c23a2d192479d264e2028843f204de2658cda (patch) | |
tree | b4862f2eca5b754572f94b5143d476693d8467c8 /lib/CodeGen/MachineModuleInfo.cpp | |
parent | 2194ad9067fb6a42944443bb8cb455f25a6a1473 (diff) |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp index 185f348e0a..9d532add1a 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()); |