]> granicus.if.org Git - clang/commit
[Objective-c] Stop attaching section "datacoal_nt" to global variables.
authorAkira Hatanaka <ahatanaka@apple.com>
Thu, 11 Feb 2016 06:36:35 +0000 (06:36 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Thu, 11 Feb 2016 06:36:35 +0000 (06:36 +0000)
commit2f720ab5abde0127a976c495b1fc63d240bc88a3
treea1546af524e97ae61e0ee1f90d8486c9c43464b2
parent88bdfe9cef2a9532ed92b1583d368733cc5466bb
[Objective-c] Stop attaching section "datacoal_nt" to global variables.

The current macho linker just copies symbols in section datacoal_nt to
section data, so it doesn't really matter whether or not section
"datacoal_nt" is attached to the global variable.

This is a follow-up to r250370, which made changes in llvm to stop
putting functions and data in the *coal* sections.

rdar://problem/24528611

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260496 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjCMac.cpp
lib/Frontend/Rewrite/RewriteModernObjC.cpp
test/CodeGenObjC/exceptions-asm-attribute.m
test/CodeGenObjC/metadata-symbols-64.m
test/CodeGenObjC/metadata_symbols.m