llvm-6502/lib/CodeGen/AsmPrinter
Hal Finkel 6cf88c9850 Initialize AsmPrinter::MF in the constructor
MF is normally initialized in AsmPrinter::SetupMachineFunction, but if the file
contains only globals (no functions), then we need this to be initialized
because, when encountering an error, lowerConstant() references it.

This should fix the non-deterministic failures of
test/CodeGen/X86/nonconst-static-iv.ll, etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186068 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-11 06:41:14 +00:00
..
ARMException.cpp
AsmPrinter.cpp Initialize AsmPrinter::MF in the constructor 2013-07-11 06:41:14 +00:00
AsmPrinterDwarf.cpp
AsmPrinterInlineAsm.cpp
CMakeLists.txt
DIE.cpp
DIE.h
DwarfAccelTable.cpp
DwarfAccelTable.h
DwarfCFIException.cpp
DwarfCompileUnit.cpp Fix comment. 2013-07-09 23:48:45 +00:00
DwarfCompileUnit.h
DwarfDebug.cpp Reapply an improved version of r180816/180817. 2013-07-09 20:28:37 +00:00
DwarfDebug.h Update comment to avoid mentioning DbgValues which is an instance 2013-07-08 21:16:18 +00:00
DwarfException.cpp
DwarfException.h
ErlangGCPrinter.cpp
LLVMBuild.txt
Makefile
OcamlGCPrinter.cpp
Win64Exception.cpp Revert: Emit personality function and Dwarf EH data for Win64 SEH. 2013-07-08 04:43:23 +00:00