llvm.org GIT mirror llvm / 43b30a8
Get exception handling working again on 64 bit Darwin. This is a hack of course, but it does at least look at the right thing: gotpcrel means that this is already an offset, so an explicit offset is not needed (and wrong). I think this is good enough for the moment: Anton is working on something better. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50850 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan Sands 11 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
28552855 O << TAI->getPersonalityPrefix();
28562856 Asm->EmitExternalGlobal((const GlobalVariable *)(Personality));
28572857 O << TAI->getPersonalitySuffix();
2858 O << "-" << TAI->getPCSymbol();
2858 if (strcmp(TAI->getPersonalitySuffix(), "+4@GOTPCREL"))
2859 O << "-" << TAI->getPCSymbol();
28592860 Asm->EOL("Personality");
28612862 Asm->EmitInt8(DW_EH_PE_pcrel | DW_EH_PE_sdata4);