diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-09-15 22:58:35 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-09-15 22:58:35 +0000 |
| commit | 7b40df7589fcc7055cfb22ae4c1b9d4470430226 (patch) | |
| tree | 140d0816d7346a71f01e0eaabb261602e953874b /llvm/lib/CodeGen | |
| parent | 37d0b678b6e8bb7607ecd245cc243ad26870a68a (diff) | |
| download | bcm5719-llvm-7b40df7589fcc7055cfb22ae4c1b9d4470430226.tar.gz bcm5719-llvm-7b40df7589fcc7055cfb22ae4c1b9d4470430226.zip | |
strength reduce a call to PrintRelDirective(true).
llvm-svn: 81942
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp index 954092a446e..9efa1eadac7 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -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"); |

