Adding basic support for Dwarf line number debug information.
[oota-llvm.git] / lib / CodeGen / MachineDebugInfo.cpp
1 //===-- llvm/CodeGen/MachineDebugInfo.cpp -----------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
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.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include "llvm/CodeGen/MachineDebugInfo.h"
11
12 using namespace llvm;
13
14 // Handle the Pass registration stuff necessary to use TargetData's.
15 namespace {
16   RegisterPass<MachineDebugInfo> X("machinedebuginfo", "Debug Information");
17 }
18
19   
20 //===----------------------------------------------------------------------===//
21 /// doInitialization - Initialize the debug state for a new module.
22 ///
23 bool MachineDebugInfo::doInitialization() {
24   return false;
25 }
26
27 /// doFinalization - Tear down the debug state after completion of a module.
28 ///
29 bool MachineDebugInfo::doFinalization() {
30   return false;
31 }