[PATCH] D13188: [MachO] Stop generating *coal* sections.
Rafael Ávila de Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 08:36:52 PDT 2015
rafael added inline comments.
================
Comment at: include/llvm/MC/MCContext.h:204
@@ +203,3 @@
+ /// section.
+ StringMap<std::shared_ptr<MCSectionMachO>> MachOUniquingMap;
+
----------------
This is needed because we pool allocate sections, but not fragments and then have to manually call the section destructors.
Could you try pool allocating the fragments first? There are way more fragments than sections, so this would be a good change anyway.
http://reviews.llvm.org/D13188
More information about the llvm-commits
mailing list