projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d967578
)
Add a frame with the compact unwind encoding if it exists.
author
Bill Wendling
<isanbard@gmail.com>
Tue, 19 Jul 2011 00:02:51 +0000
(
00:02
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Tue, 19 Jul 2011 00:02:51 +0000
(
00:02
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135450
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index fbf98671918e327f47cc0972514aa86eb400f99f..7575f3534bc25f3be7e3fa6e239a242c109af6ff 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@
-620,6
+620,9
@@
void AsmPrinter::emitPrologLabel(const MachineInstr &MI) {
if (needsCFIMoves() == CFI_M_None)
return;
+ if (MMI->getCompactUnwindEncoding() != 0)
+ OutStreamer.EmitCompactUnwindEncoding(MMI->getCompactUnwindEncoding());
+
MachineModuleInfo &MMI = MF->getMMI();
std::vector<MachineMove> &Moves = MMI.getFrameMoves();
bool FoundOne = false;