MC: Reduce MCAssembler::Symbols API exposure, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 15 May 2015 22:33:34 +0000 (22:33 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 15 May 2015 22:33:34 +0000 (22:33 +0000)
commiteaf14f30c8a50e341cf0c4b038dc3b2edd162b27
treedde599c34d50932816751ad890838342e8ab4848
parentfc9bfcd1842caa2e0e896073087cc57fba5d1f03
MC: Reduce MCAssembler::Symbols API exposure, NFC

Stop exposing the storage for `MCAssembler::Symbols`, and have
`MCAssembler` add symbols directly to its list instead of using a hook
in `MCSymbolData`.  This opens up room for a follow-up commit to switch
from a linked list to a vector.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237486 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAssembler.h
lib/MC/MCAssembler.cpp