Set up MachineDebugInfo to scan for debug information form "llvm.db"g globals.

Global Variable information is now pulled from "llvm.dbg.globals"


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25655 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2006-01-26 20:21:46 +00:00
parent e4a359e43b
commit b3e789ac25
6 changed files with 417 additions and 437 deletions

View File

@@ -431,7 +431,7 @@ void PPCAsmPrinter::printMachineInstruction(const MachineInstr *MI) {
/// method to print assembly for each instruction.
///
bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
// FIXME - is this the earliest this can be set.
// FIXME - is this the earliest this can be set?
DW.SetDebugInfo(&getAnalysis<MachineDebugInfo>());
SetupMachineFunction(MF);