summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-12-06 22:18:12 +0000
committerBill Wendling <isanbard@gmail.com>2011-12-06 22:18:12 +0000
commitefdd2f8fefc5814997a55756d429b13a212511ee (patch)
tree8bd75a5fbf3be04a4b88996a43e6340b1a441358 /llvm/lib/MC
parent67a70c995a85117e11f31358fa6a0e2dc6f6c238 (diff)
downloadbcm5719-llvm-efdd2f8fefc5814997a55756d429b13a212511ee.tar.gz
bcm5719-llvm-efdd2f8fefc5814997a55756d429b13a212511ee.zip
Re-enable compact unwind. It seems to work now. <rdar://problem/10441838>
llvm-svn: 145977
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r--llvm/lib/MC/MCDwarf.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp
index d2bbd7d559d..8157b4177a1 100644
--- a/llvm/lib/MC/MCDwarf.cpp
+++ b/llvm/lib/MC/MCDwarf.cpp
@@ -1009,10 +1009,7 @@ void MCDwarfFrameEmitter::Emit(MCStreamer &Streamer,
ArrayRef<MCDwarfFrameInfo> FrameArray = Streamer.getFrameInfos();
// Emit the compact unwind info if available.
- // FIXME: This emits both the compact unwind and the old CIE/FDE
- // information. Only one of those is needed.
- // FIXME: Disable. This seems to still be causing failures.
- if (false && IsEH && MOFI->getCompactUnwindSection())
+ if (IsEH && MOFI->getCompactUnwindSection())
for (unsigned i = 0, n = Streamer.getNumFrameInfos(); i < n; ++i) {
const MCDwarfFrameInfo &Frame = Streamer.getFrameInfo(i);
if (Frame.CompactUnwindEncoding)
OpenPOWER on IntegriCloud