[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)
commit7f550f3dbbb88fc660350301e6dcdce4bfba9be1
tree9bfb817968f3cfb142f406608f311b10aa7d4471
parentfcb345f172d669460a4e0d6bdfd109b5bb58cfce
[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

llvm-svn: 260496
clang/lib/CodeGen/CGObjCMac.cpp
clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
clang/test/CodeGenObjC/exceptions-asm-attribute.m
clang/test/CodeGenObjC/metadata-symbols-64.m
clang/test/CodeGenObjC/metadata_symbols.m