Move VariableDbgInfo from MachineModuleInfo to MachineFunction
authorMatthias Braun <matze@braunis.de>
Wed, 30 Nov 2016 23:48:50 +0000 (23:48 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 30 Nov 2016 23:48:50 +0000 (23:48 +0000)
commitef331eff5aa56a70d5bef2e5cf3202a326d697e9
tree05e8c2463af88ed178689df11b5228f9f07ef577
parentf23ef437ccf39dd8209960b942b3751547b07af5
Move VariableDbgInfo from MachineModuleInfo to MachineFunction

VariableDbgInfo is per function data, so it makes sense to have it with
the function instead of the module.

This is a necessary step to have machine module passes work properly.

Differential Revision: https://reviews.llvm.org/D27186

llvm-svn: 288292
llvm/include/llvm/CodeGen/MachineFunction.h
llvm/include/llvm/CodeGen/MachineModuleInfo.h
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/lib/CodeGen/MIRParser/MIRParser.cpp
llvm/lib/CodeGen/MIRPrinter.cpp
llvm/lib/CodeGen/MachineModuleInfo.cpp
llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
llvm/lib/CodeGen/StackColoring.cpp