HomePhabricator

[MC] Allow Stackmap sections after DWARF in MachO.
Audit Required3f981cdde90f

Authored by lhames on Mar 8 2020, 9:41 PM.

Description

[MC] Allow Stackmap sections after DWARF in MachO.

Summary:
Mixing stackmaps and DWARF in a single file triggers an assertion in
MCMachOStreamer as stackmap sections are emitted in AsmPrinter::emitEndOfAsmFile
after the DWARF sections have already been emitted.

Since it should be safe to emit stackmap sections after DWARF sections this
patch relaxes the assertion to allow that.

Reviewers: aprantl, dblaikie, echristo

Subscribers: hiraditya, ributzka, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75836

Details

Auditors
grosbach
Committed
lhamesMar 9 2020, 6:33 PM
Differential Revision
D75836: [MC] Allow Stackmap sections after DWARF in MachO.
Parents
rGe241573d5972: [mlir] NFC: remove IntegerValueSet / MutableIntegerSet
Branches
Unknown
Tags
Unknown