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.
Paths
| Differential D27186
Move VariableDbgInfo from MachineModuleInfo to MachineFunction ClosedPublic Authored by MatzeB on Nov 28 2016, 6:24 PM.
Details Summary VariableDbgInfo is per function data, so it makes sense to have it with This is a necessary step to have machine module passes work properly.
Diff Detail
Event TimelineComment Actions Slightly simplify patch by not adding const MachineFunction& parameters to some AsmPrinter functions. The current function is accessible by Asm->MF. This revision is now accepted and ready to land.Nov 30 2016, 3:19 PM Closed by commit rL288292: Move VariableDbgInfo from MachineModuleInfo to MachineFunction (authored by matze). · Explain WhyNov 30 2016, 3:59 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 79631 include/llvm/CodeGen/MachineFunction.h
include/llvm/CodeGen/MachineModuleInfo.h
lib/CodeGen/AsmPrinter/CodeViewDebug.h
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/MIRParser/MIRParser.cpp
lib/CodeGen/MIRPrinter.cpp
lib/CodeGen/MachineModuleInfo.cpp
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
lib/CodeGen/StackColoring.cpp
|