summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCDwarf.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-11-14 18:21:07 +0000
committerBob Wilson <bob.wilson@apple.com>2011-11-14 18:21:07 +0000
commit8d1c7dbdff426638bd1c6935be8cad581f9da105 (patch)
treed907f0ec1c44ab8c52404a4c47c4e8d1fda7641d /llvm/lib/MC/MCDwarf.cpp
parent7e07b388ac623dc24b2ef9dd21ddaa1d8367f3a4 (diff)
downloadbcm5719-llvm-8d1c7dbdff426638bd1c6935be8cad581f9da105.tar.gz
bcm5719-llvm-8d1c7dbdff426638bd1c6935be8cad581f9da105.zip
Disable generation of compact unwind encodings. <rdar://problem/10441578>
This still seems to be causing some failures. It needs more testing before it gets enabled again. llvm-svn: 144543
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r--llvm/lib/MC/MCDwarf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp
index c274b9df63a..d2bbd7d559d 100644
--- a/llvm/lib/MC/MCDwarf.cpp
+++ b/llvm/lib/MC/MCDwarf.cpp
@@ -1011,7 +1011,8 @@ void MCDwarfFrameEmitter::Emit(MCStreamer &Streamer,
// 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.
- if (IsEH && MOFI->getCompactUnwindSection())
+ // FIXME: Disable. This seems to still be causing failures.
+ if (false && 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