summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-16 00:08:41 +0000
committerChris Lattner <sabre@nondot.org>2009-09-16 00:08:41 +0000
commitdd5a9890344d52e0b93af4bbc4c0002d9dfc70d4 (patch)
treeb0ed6e6afb4806078ea0fae4b44490e12ad8e230 /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
parent3045f9e57b917ea955e45c40855abf590c47bba5 (diff)
downloadbcm5719-llvm-dd5a9890344d52e0b93af4bbc4c0002d9dfc70d4.tar.gz
bcm5719-llvm-dd5a9890344d52e0b93af4bbc4c0002d9dfc70d4.zip
eliminate the horrid AsmPrinter::getGlobalLinkName method, inlining
it into all of its call sites and simplifying them. llvm-svn: 81962
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
index 9efa1eadac7..abd2e6fe80d 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
@@ -872,8 +872,7 @@ void DwarfException::EmitExceptionTable() {
PrintRelDirective();
if (GV) {
- std::string GLN;
- O << Asm->getGlobalLinkName(GV, GLN);
+ O << Asm->Mang->getMangledName(GV);
} else {
O << "0x0";
}
OpenPOWER on IntegriCloud