blob: 546468647b1339378f95104e440595f5696515c2 [file] [log] [blame]
Jim Laskey44317392006-01-04 13:36:38 +00001//===-- 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//===----------------------------------------------------------------------===//
Jim Laskey44317392006-01-04 13:36:38 +00009
10#include "llvm/CodeGen/MachineDebugInfo.h"
11
12using namespace llvm;
13
14// Handle the Pass registration stuff necessary to use TargetData's.
15namespace {
Jim Laskey219d5592006-01-04 22:28:25 +000016 RegisterPass<MachineDebugInfo> X("machinedebuginfo", "Debug Information");
17}
Jim Laskeyb9966022006-01-17 17:31:53 +000018
Jim Laskey219d5592006-01-04 22:28:25 +000019
Jim Laskeyb9966022006-01-17 17:31:53 +000020//===----------------------------------------------------------------------===//
Jim Laskey219d5592006-01-04 22:28:25 +000021/// doInitialization - Initialize the debug state for a new module.
22///
23bool MachineDebugInfo::doInitialization() {
24 return false;
Jim Laskey44317392006-01-04 13:36:38 +000025}
26
Jim Laskey219d5592006-01-04 22:28:25 +000027/// doFinalization - Tear down the debug state after completion of a module.
28///
29bool MachineDebugInfo::doFinalization() {
30 return false;
31}