[llvm-commits] [llvm] r81942 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
Chris Lattner
sabre at nondot.org
Tue Sep 15 15:58:36 PDT 2009
Author: lattner
Date: Tue Sep 15 17:58:35 2009
New Revision: 81942
URL: http://llvm.org/viewvc/llvm-project?rev=81942&view=rev
Log:
strength reduce a call to PrintRelDirective(true).
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp?rev=81942&r1=81941&r2=81942&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp Tue Sep 15 17:58:35 2009
@@ -160,10 +160,12 @@
// 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 at GOTPCREL"))
O << "-" << MAI->getPCSymbol();
Asm->EOL("Personality");
More information about the llvm-commits
mailing list