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)
commit916f79ef7b802f5dc614abf6150ba60910510f24
tree2a5b2f7e1afe22452be5b95f7c57edc98b32bc09
parenteb012fa761c171e795222a454148e5c405ff509e
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.

llvm-svn: 239316
llvm/include/llvm/MC/MCMachOSymbolFlags.h [deleted file]
llvm/include/llvm/MC/MCSymbolMachO.h
llvm/lib/MC/MCMachOStreamer.cpp
llvm/lib/MC/MachObjectWriter.cpp