[PATCH] D75836: [MC] Allow Stackmap sections after DWARF in MachO.
Lang Hames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 9 18:54:23 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3f981cdde90f: [MC] Allow Stackmap sections after DWARF in MachO. (authored by lhames).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75836/new/
https://reviews.llvm.org/D75836
Files:
llvm/lib/MC/MCMachOStreamer.cpp
Index: llvm/lib/MC/MCMachOStreamer.cpp
===================================================================
--- llvm/lib/MC/MCMachOStreamer.cpp
+++ llvm/lib/MC/MCMachOStreamer.cpp
@@ -155,7 +155,9 @@
if (SegName == "__DWARF")
CreatedADWARFSection = true;
else if (Created && DWARFMustBeAtTheEnd && !canGoAfterDWARF(MSec))
- assert(!CreatedADWARFSection && "Creating regular section after DWARF");
+ assert((!CreatedADWARFSection ||
+ Section == getContext().getObjectFileInfo()->getStackMapSection())
+ && "Creating regular section after DWARF");
// Output a linker-local symbol so we don't need section-relative local
// relocations. The linker hates us when we do that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75836.249264.patch
Type: text/x-patch
Size: 717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200310/8d5ae0df/attachment.bin>
More information about the llvm-commits
mailing list