diff options
author | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2022-12-08 10:55:52 -0800 |
---|---|---|
committer | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2022-12-14 16:36:02 -0800 |
commit | 28edf3349bd1d595270c17ec73e49999175f1212 (patch) | |
tree | f3ba1524a75039709c9dd33f8974b69e35b43185 /llvm/lib/MC/MCDwarf.cpp | |
parent | 4f47677dee24b78548b49f3abca2c1ea65a79c8a (diff) | |
download | llvm-28edf3349bd1d595270c17ec73e49999175f1212.zip llvm-28edf3349bd1d595270c17ec73e49999175f1212.tar.gz llvm-28edf3349bd1d595270c17ec73e49999175f1212.tar.bz2 |
Emit unwind information in the .debug_frame section when the .cfi_sections .debug_frame directive is used.
Differential Revision: https://reviews.llvm.org/D139663
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 a3ecebb..7d7e790 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 (IsEH && MOFI->getCompactUnwindSection()) { + if (MOFI->getCompactUnwindSection()) { Streamer.generateCompactUnwindEncodings(MAB); bool SectionEmitted = false; for (const MCDwarfFrameInfo &Frame : FrameArray) { |