2006-01-04 14:36:38 +01:00
|
|
|
//===-- llvm/CodeGen/MachineDebugInfo.cpp -----------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file was developed by James M. Laskey and is distributed under
|
|
|
|
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/CodeGen/MachineDebugInfo.h"
|
|
|
|
|
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
// Handle the Pass registration stuff necessary to use TargetData's.
|
|
|
|
namespace {
|
2006-01-04 23:28:25 +01:00
|
|
|
RegisterPass<MachineDebugInfo> X("machinedebuginfo", "Debug Information");
|
2006-01-04 14:36:38 +01:00
|
|
|
}
|
2006-01-17 18:31:53 +01:00
|
|
|
|
2006-01-04 14:36:38 +01:00
|
|
|
|
2006-01-17 18:31:53 +01:00
|
|
|
//===----------------------------------------------------------------------===//
|
2006-01-04 23:28:25 +01:00
|
|
|
/// doInitialization - Initialize the debug state for a new module.
|
|
|
|
///
|
|
|
|
bool MachineDebugInfo::doInitialization() {
|
|
|
|
return false;
|
|
|
|
}
|
2006-01-04 14:36:38 +01:00
|
|
|
|
2006-01-04 23:28:25 +01:00
|
|
|
/// doFinalization - Tear down the debug state after completion of a module.
|
|
|
|
///
|
|
|
|
bool MachineDebugInfo::doFinalization() {
|
|
|
|
return false;
|
|
|
|
}
|