MachO: enable .data_region directives everywhere
authorTim Northover <tnorthover@apple.com>
Thu, 21 Apr 2016 23:00:17 +0000 (23:00 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 21 Apr 2016 23:00:17 +0000 (23:00 +0000)
commitc52c74efdf43f35c7d1b9dcda309218b50573677
tree2530d8ed9847b13cac124e335677b6ba1d8bd9dd
parent89dd1dd2782de71d56c512e44b9dfda2f7b95351
MachO: enable .data_region directives everywhere

We'd disabled them on x86 because back in the early days some host tools
couldn't handle the new load commands. This no longer holds: anyone capable of
deploying Clang should be able to deploy its copies of ar/ranlib/etc.

rdar://25254790

llvm-svn: 267075
llvm/include/llvm/MC/MCAsmBackend.h
llvm/lib/MC/MCAsmBackend.cpp
llvm/lib/MC/MCMachOStreamer.cpp
llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h
llvm/test/MC/MachO/AArch64/data-in-code.s [new file with mode: 0644]
llvm/test/MC/MachO/x86-data-in-code.ll [deleted file]
llvm/test/MC/MachO/x86-data-in-code.s [new file with mode: 0644]