]> granicus.if.org Git - llvm/commit
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)
commitabc546afd195bb2b077b063590038737f4ed30fb
tree0719d2dde2a078fdb2fe7964fb9a24044923b066
parentdda7fcbd99f499a0adb50b435caed29483a1fea8
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.

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