1 //===-- llvm/CodeGen/MachineDebugInfo.cpp -----------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by James M. Laskey and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "llvm/CodeGen/MachineDebugInfo.h"
14 // Handle the Pass registration stuff necessary to use TargetData's.
16 RegisterPass<MachineDebugInfo> X("machinedebuginfo", "Debug Information");
20 //===----------------------------------------------------------------------===//
21 /// doInitialization - Initialize the debug state for a new module.
23 bool MachineDebugInfo::doInitialization() {
27 /// doFinalization - Tear down the debug state after completion of a module.
29 bool MachineDebugInfo::doFinalization() {