diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-07-19 00:02:51 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-07-19 00:02:51 +0000 |
commit | b20453faae1d5405148fd62cafcb8d9b4a82725c (patch) | |
tree | d9d675da182995c8d475609a7d09da375ea8e9a5 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | c438d78c38973114490ad352386ac0ac71452e2f (diff) | |
download | bcm5719-llvm-b20453faae1d5405148fd62cafcb8d9b4a82725c.tar.gz bcm5719-llvm-b20453faae1d5405148fd62cafcb8d9b4a82725c.zip |
Add a frame with the compact unwind encoding if it exists.
llvm-svn: 135450
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index fbf98671918..7575f3534bc 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/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; |