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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82354 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2009-09-20 02:19:49 +00:00
parent a80e9598ca
commit 5511ffd763
2 changed files with 2 additions and 7 deletions

View File

@ -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);