Skip to content

Commit dbe05fe

Browse files
Merge pull request #5931 from adrian-prantl/103967315
Revert "Emit unwind information in the .debug_frame section when the …
2 parents 8d75c7b + 80b3833 commit dbe05fe

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

llvm/lib/MC/MCDwarf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,7 @@ void MCDwarfFrameEmitter::Emit(MCObjectStreamer &Streamer, MCAsmBackend *MAB,
18621862

18631863
// Emit the compact unwind info if available.
18641864
bool NeedsEHFrameSection = !MOFI->getSupportsCompactUnwindWithoutEHFrame();
1865-
if (MOFI->getCompactUnwindSection()) {
1865+
if (IsEH && MOFI->getCompactUnwindSection()) {
18661866
Streamer.generateCompactUnwindEncodings(MAB);
18671867
bool SectionEmitted = false;
18681868
for (const MCDwarfFrameInfo &Frame : FrameArray) {

llvm/test/DebugInfo/AArch64/debugframeinfo.s

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)