diff options
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r-- | llvm/lib/MC/MCDwarf.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp index 5032592..9ada216 100644 --- a/llvm/lib/MC/MCDwarf.cpp +++ b/llvm/lib/MC/MCDwarf.cpp @@ -1865,14 +1865,6 @@ void MCDwarfFrameEmitter::Emit(MCObjectStreamer &Streamer, MCAsmBackend *MAB, FrameEmitterImpl Emitter(IsEH, Streamer); ArrayRef<MCDwarfFrameInfo> FrameArray = Streamer.getDwarfFrameInfos(); - // Disable AttemptToFoldSymbolOffsetDifference folding of EmitCompactUnwind - // and fdeStart-cieStart for EmitFDE due to the the performance issue. The - // label differences will be evaluate at write time. - assert(Streamer.getUseAssemblerInfoForParsing()); - Streamer.setUseAssemblerInfoForParsing(false); - auto Enable = llvm::make_scope_exit( - [&]() { Streamer.setUseAssemblerInfoForParsing(true); }); - // Emit the compact unwind info if available. bool NeedsEHFrameSection = !MOFI->getSupportsCompactUnwindWithoutEHFrame(); if (IsEH && MOFI->getCompactUnwindSection()) { |