change AsmPrinter to switch sections using AsmStreamer instead of
authorChris Lattner <sabre@nondot.org>
Mon, 17 Aug 2009 05:49:08 +0000 (05:49 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 17 Aug 2009 05:49:08 +0000 (05:49 +0000)
commit975780bb595b57a45a8e6d72d8151b436314ce22
tree608145582519a558587437839df9930c525629d7
parentd3aa25e2a8b04853f03341b6275ef7718659b915
change AsmPrinter to switch sections using AsmStreamer instead of
doing it directly.  This requires const'izing a bunch of stuff that
took sections, but this seems like the right semantic thing to do:
emitting a label to a section shouldn't mutate the MCSection object
itself, for example.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79227 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCStreamer.h
include/llvm/MC/MCSymbol.h
include/llvm/MC/MCValue.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCNullStreamer.cpp