strength reduce a call to PrintRelDirective(true).

llvm-svn: 81942
This commit is contained in:
Chris Lattner 2009-09-15 22:58:35 +00:00
parent 37d0b678b6
commit 7b40df7589
1 changed files with 3 additions and 1 deletions

View File

@ -160,10 +160,12 @@ void DwarfException::EmitCIE(const Function *Personality, unsigned Index) {
// If there is a personality, we need to indicate the function's location.
if (Personality) {
PrintRelDirective(true);
O << MAI->getData32bitsDirective();
O << MAI->getPersonalityPrefix();
Asm->EmitExternalGlobal((const GlobalVariable *)(Personality));
O << MAI->getPersonalitySuffix();
if (strcmp(MAI->getPersonalitySuffix(), "+4@GOTPCREL"))
O << "-" << MAI->getPCSymbol();
Asm->EOL("Personality");