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)
commit316c37407ebff91d29a997bf9fa795cbf71e850d
tree42ac5ae7717c470fa1640d98856140007a19da9e
parent1558c5a6ee8a8238b4a97f88f3e95b23d88c0f4f
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.

llvm-svn: 185670
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp