At the beginning of doFinalization set the MachineFunction to
authorEric Christopher <echristo@gmail.com>
Fri, 20 Mar 2015 16:03:39 +0000 (16:03 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 20 Mar 2015 16:03:39 +0000 (16:03 +0000)
commitd43c5c75b63d6f6f01b3469e37a85b6d82471ca7
tree95d9a7832e04fbd5b841714705dbc3f55c71263b
parentc83fa9e9ebb80d4a848d3c9ed32f5591b07f2d1a
At the beginning of doFinalization set the MachineFunction to
nullptr so that users get an earlier dereferencing error and
so that we can use it to conditionalize access to MachineFunction
specific data.

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