summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCDwarf.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-12-15 00:14:24 +0000
committerBill Wendling <isanbard@gmail.com>2011-12-15 00:14:24 +0000
commitdb0f63e3452b58510cf3ef9678d3a9490652dd48 (patch)
tree808af8a73a6dbfea9c98c0eb6bc6811309ae8736 /llvm/lib/MC/MCDwarf.cpp
parent4d873b725e1fec9bcfcdb7e0eb05796932c1dd97 (diff)
downloadbcm5719-llvm-db0f63e3452b58510cf3ef9678d3a9490652dd48.tar.gz
bcm5719-llvm-db0f63e3452b58510cf3ef9678d3a9490652dd48.zip
Re-re-enable compact unwind after fixing a failure in SingleSource/Benchmarks/Shootout-C++/except.cpp and friends. It was encoding the stored registers in the wrong order.
llvm-svn: 146617
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r--llvm/lib/MC/MCDwarf.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp
index 09a64a5390a..46ab65ffeb4 100644
--- a/llvm/lib/MC/MCDwarf.cpp
+++ b/llvm/lib/MC/MCDwarf.cpp
@@ -1348,8 +1348,7 @@ void MCDwarfFrameEmitter::Emit(MCStreamer &Streamer,
ArrayRef<MCDwarfFrameInfo> FrameArray = Streamer.getFrameInfos();
// Emit the compact unwind info if available.
- // FIXME: Re-enable.
- 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