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 | f60d3eb186c2821f65d85b40665d602eb7d051f4 (patch) | |
tree | eaee05ad9d6a0df652e2a1ae307120c913360e1b /lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | a70e2e3d4831b8a39ea6bae5c62df29fa82a86f3 (diff) |
strength reduce a call to PrintRelDirective(true).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81942 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfException.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index 954092a446..9efa1eadac 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/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"); |