diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-09-20 02:19:49 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-09-20 02:19:49 +0000 |
commit | 0f899601f3aebd7738258048d4243fd84214ed4f (patch) | |
tree | b8d484403b8ad4150bcb8206723b2807a34939d3 /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | 595b3dfcbe0c3f6d8aab594a9c1997c3f38af381 (diff) | |
download | bcm5719-llvm-0f899601f3aebd7738258048d4243fd84214ed4f.tar.gz bcm5719-llvm-0f899601f3aebd7738258048d4243fd84214ed4f.zip |
Here's fun! It turns out that these filter functions can be internal. If they're
internal, they shouldn't use the indirect pointer stuff. In the case of
throw_rethrow_test, it was marked as 'internal' and calculated its own offset to
its contents.
llvm-svn: 82354
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp index d6000e66f06..ebe54102d6e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -906,7 +906,8 @@ void DwarfException::EmitExceptionTable() { const GlobalVariable *TI = *I; if (TI) { - if (TTypeFormat == dwarf::DW_EH_PE_absptr) { + if (TTypeFormat == dwarf::DW_EH_PE_absptr || + TI->getLinkage() == GlobalValue::InternalLinkage) { // Print out the unadorned name of the type info. PrintRelDirective(); O << Asm->Mang->getMangledName(TI); |