Spread some const around for non-mutating uses of MCSymbolData.
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 24 Apr 2014 16:59:40 +0000 (16:59 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 24 Apr 2014 16:59:40 +0000 (16:59 +0000)
commit45966fa1f19390b5fe11a556cae7bbafa6ce77e6
tree169278b052610225bd302614d1700d55bb8fc856
parent25fb0476094ad3d96fb4b0eaff3ed9a3182e3aed
Spread some const around for non-mutating uses of MCSymbolData.

I discovered this const-hole while attempting to coalesnce the Symbol
and SymbolMap data structures. There's some pending issues with that,
but I figured this change was easy to flush early.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207124 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAssembler.h
lib/MC/ELFObjectWriter.cpp
lib/MC/MCExpr.cpp
lib/MC/WinCOFFObjectWriter.cpp
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
lib/Target/ARM64/MCTargetDesc/ARM64MachObjectWriter.cpp
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp