diff options
author | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2022-12-22 14:23:34 -0800 |
---|---|---|
committer | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2022-12-22 14:23:34 -0800 |
commit | b27e0b2e6703710c140aefd2990091f1779841ac (patch) | |
tree | aa93ff9321ac543389b1b8cda0044e707a1c14e1 /llvm/lib/MC/MCDwarf.cpp | |
parent | d64d3c5a8f81fb07f1455ccb9f4489109cadee72 (diff) | |
download | llvm-b27e0b2e6703710c140aefd2990091f1779841ac.zip llvm-b27e0b2e6703710c140aefd2990091f1779841ac.tar.gz llvm-b27e0b2e6703710c140aefd2990091f1779841ac.tar.bz2 |
Revert "Emit unwind information in the .debug_frame section when the .cfi_sections .debug_frame directive is used."
This reverts commit d2cbdb6bef31bdc3254daf57148225ea4b34520c.
This is because we are seeing linker crashes in the internal apple bots.
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r-- | llvm/lib/MC/MCDwarf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp index 7d7e790..a3ecebb 100644 --- a/llvm/lib/MC/MCDwarf.cpp +++ b/llvm/lib/MC/MCDwarf.cpp @@ -1860,7 +1860,7 @@ void MCDwarfFrameEmitter::Emit(MCObjectStreamer &Streamer, MCAsmBackend *MAB, // Emit the compact unwind info if available. bool NeedsEHFrameSection = !MOFI->getSupportsCompactUnwindWithoutEHFrame(); - if (MOFI->getCompactUnwindSection()) { + if (IsEH && MOFI->getCompactUnwindSection()) { Streamer.generateCompactUnwindEncodings(MAB); bool SectionEmitted = false; for (const MCDwarfFrameInfo &Frame : FrameArray) { |