forked from OSchip/llvm-project
strength reduce a call to PrintRelDirective(true).
llvm-svn: 81942
This commit is contained in:
parent
37d0b678b6
commit
7b40df7589
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue