commit | dabf07c70a5e13a4560d75667fa5c7db28921a92 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Aug 18 06:15:16 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Aug 18 06:15:16 2009 +0000 |
tree | bbaf94dcb552ae8dcfb382c406cb1c7685278508 | |
parent | 6a66e585b8242b9764ec3343309697d24bb1e312 [diff] |
Make AsmStreamer maintain a notion of the current section, pushing it up from the MCAsmStreamer. Based on this, eliminate the current section from AsmPrinter. While I'm at it, clean up the last of the horrible "switch to null section" stuff and add an assert. This change is in preparation for completely eliminating asmprinter::switchtosection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79324 91177308-0d34-0410-b5e6-96231b3b80d8