Initialize object file info before output streamer
authorNico Rieck <nico.rieck@gmail.com>
Thu, 4 Jul 2013 21:37:26 +0000 (21:37 +0000)
committerNico Rieck <nico.rieck@gmail.com>
Thu, 4 Jul 2013 21:37:26 +0000 (21:37 +0000)
commit25746ddd66651bdad159444d0331b7df4dc22842
treeb47effac33e3e7be70cef83968954b79b42b76f9
parenta6d343a688073664b3a80aa117e0d3cbecf28014
Initialize object file info before output streamer

r179494 switched to using the object file info to retrieve the default text
section for some MC streamers. It is possible that initializing an MC
streamer can request sections before the object file info is initialized
when the AutoInitSections flag is set on the streamer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185670 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp