projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a70e2e3
)
strength reduce a call to PrintRelDirective(true).
author
Chris Lattner
<sabre@nondot.org>
Tue, 15 Sep 2009 22:58:35 +0000
(22:58 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 15 Sep 2009 22:58:35 +0000
(22:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81942
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfException.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfException.cpp
b/lib/CodeGen/AsmPrinter/DwarfException.cpp
index 954092a446e583bbff003db26e5969329140fdf2..9efa1eadac78fcedd6763ee7e4e6bd49c07ccaa8 100644
(file)
--- 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");