Move all flags logic to MCSymbolMachO.
authorPete Cooper <peter_cooper@apple.com>
Mon, 8 Jun 2015 17:17:28 +0000 (17:17 +0000)
committerPete Cooper <peter_cooper@apple.com>
Mon, 8 Jun 2015 17:17:28 +0000 (17:17 +0000)
commitd3869ee8d2668a010ce33aecb87e3249b7525a44
tree004f814e4ef1c49e1be964550348acf2590bde6f
parentcae8bc4504c32de1a1c37dc8568ad9a23f37ea02
Move all flags logic to MCSymbolMachO.

Also delete the now unused MCMachOSymbolFlags.h header as the only enum in there was moved to MCSymbolMachO.

Similarly to ELF and COFF, manipulating the flags is now done via helpers instead of spread
throughout the codebase.

Reviewed by Rafael EspĂ­ndola.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239316 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCMachOSymbolFlags.h [deleted file]
include/llvm/MC/MCSymbolMachO.h
lib/MC/MCMachOStreamer.cpp
lib/MC/MachObjectWriter.cpp