diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-10-17 17:17:24 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-10-17 17:17:24 +0000 |
commit | d24b913a613b7f6be2c04716bbbe8e58e61f793e (patch) | |
tree | 0ab1560a2bdeefbc6b6fcbd0fef9e21844317b05 /llvm/lib/CodeGen/DwarfWriter.cpp | |
parent | 56c9d2597e3eae920f1727ace1bfe3ffa5d57444 (diff) | |
download | bcm5719-llvm-d24b913a613b7f6be2c04716bbbe8e58e61f793e.tar.gz bcm5719-llvm-d24b913a613b7f6be2c04716bbbe8e58e61f793e.zip |
Clean up interface to getGlobalLinkName.
llvm-svn: 31001
Diffstat (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/DwarfWriter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp index 1c52c5bf5d1..1d08d07a8a3 100644 --- a/llvm/lib/CodeGen/DwarfWriter.cpp +++ b/llvm/lib/CodeGen/DwarfWriter.cpp @@ -1634,8 +1634,7 @@ DIE *DwarfWriter::NewGlobalVariable(GlobalVariableDesc *GVD) { AddSourceLine(VariableDie, UnitDesc, GVD->getLine()); // Work up linkage name. - std::string LinkageName; - Asm->getGlobalLinkName(GV, LinkageName); + const std::string LinkageName = Asm->getGlobalLinkName(GV); // Add address. DIEBlock *Block = new DIEBlock(); |