[PATCH] D13188: [MachO] Stop generating *coal* sections.

Akira Hatanaka via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 15:33:43 PDT 2015


ahatanak updated this revision to Diff 35915.
ahatanak added a comment.

Fix a bug in the custom deleter passed to constructor of shared_ptr where the destructor of MCSectionMachO wasn't being called.  Also, move the call to MachOUniquingMap.clear() up so that it's called before Allocator.Reset() is called.


http://reviews.llvm.org/D13188

Files:
  include/llvm/MC/MCContext.h
  lib/MC/MCContext.cpp
  lib/MC/MCObjectFileInfo.cpp
  test/CodeGen/PowerPC/coal-sections.ll
  test/CodeGen/X86/coal-sections.ll
  test/CodeGen/X86/global-sections.ll
  test/MC/MachO/coal-sections-powerpc.s
  test/MC/MachO/coal-sections-x86_64.s
  test/MC/MachO/weakdef.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13188.35915.patch
Type: text/x-patch
Size: 13512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150928/57bd515f/attachment.bin>


More information about the llvm-commits mailing list