2006-01-04 13:36:38 +00: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 22:28:25 +00:00
|
|
|
RegisterPass<MachineDebugInfo> X("machinedebuginfo", "Debug Information");
|
2006-01-04 13:36:38 +00:00
|
|
|
}
|
2006-01-17 17:31:53 +00:00
|
|
|
|
2006-01-04 13:36:38 +00:00
|
|
|
|
2006-01-17 17:31:53 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
2006-01-04 22:28:25 +00:00
|
|
|
/// doInitialization - Initialize the debug state for a new module.
|
|
|
|
///
|
|
|
|
bool MachineDebugInfo::doInitialization() {
|
|
|
|
return false;
|
|
|
|
}
|
2006-01-04 13:36:38 +00:00
|
|
|
|
2006-01-04 22:28:25 +00:00
|
|
|
/// doFinalization - Tear down the debug state after completion of a module.
|
|
|
|
///
|
|
|
|
bool MachineDebugInfo::doFinalization() {
|
|
|
|
return false;
|
|
|
|
}
|