diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2010-04-06 15:52:58 +0000 | 
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2010-04-06 15:52:58 +0000 | 
| commit | 9f4a1da9a0a56a0b0a7f8249f34b3cdea6179c41 (patch) | |
| tree | 0dd020f28a4846707f8d60717d9b2921ea187bd8 /include/llvm/CodeGen/DwarfWriter.h | |
| parent | b5efedaf2ab20d844d5a21cdef76b55acbf4f01c (diff) | |
Notes
Diffstat (limited to 'include/llvm/CodeGen/DwarfWriter.h')
| -rw-r--r-- | include/llvm/CodeGen/DwarfWriter.h | 96 | 
1 files changed, 0 insertions, 96 deletions
diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h deleted file mode 100644 index 494400ee2c98..000000000000 --- a/include/llvm/CodeGen/DwarfWriter.h +++ /dev/null @@ -1,96 +0,0 @@ -//===-- llvm/CodeGen/DwarfWriter.h - Dwarf Framework ------------*- C++ -*-===// -// -//                     The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file contains support for writing Dwarf debug and exception info into -// asm files.  For Details on the Dwarf 3 specfication see DWARF Debugging -// Information Format V.3 reference manual http://dwarf.freestandards.org , -// -// The role of the Dwarf Writer class is to extract information from the -// MachineModuleInfo object, organize it in Dwarf form and then emit it into asm -// the current asm file using data and high level Dwarf directives. -//  -//===----------------------------------------------------------------------===// - -#ifndef LLVM_CODEGEN_DWARFWRITER_H -#define LLVM_CODEGEN_DWARFWRITER_H - -#include "llvm/Pass.h" -#include "llvm/Target/TargetMachine.h" - -namespace llvm { - -class AsmPrinter; -class DwarfDebug; -class DwarfException; -class MachineModuleInfo; -class MachineFunction; -class MachineInstr; -class Value; -class Module; -class MDNode; -class MCAsmInfo; -class MCSymbol; -class raw_ostream; -class Instruction; -class DICompileUnit; -class DISubprogram; -class DIVariable; - -//===----------------------------------------------------------------------===// -// DwarfWriter - Emits Dwarf debug and exception handling directives. -// - -class DwarfWriter : public ImmutablePass { -private: -  /// DD - Provides the DwarfWriter debug implementation. -  /// -  DwarfDebug *DD; - -  /// DE - Provides the DwarfWriter exception implementation. -  /// -  DwarfException *DE; - -public: -  static char ID; // Pass identification, replacement for typeid - -  DwarfWriter(); -  virtual ~DwarfWriter(); - -  //===--------------------------------------------------------------------===// -  // Main entry points. -  // -   -  /// BeginModule - Emit all Dwarf sections that should come prior to the -  /// content. -  void BeginModule(Module *M, MachineModuleInfo *MMI, raw_ostream &OS, -                   AsmPrinter *A, const MCAsmInfo *T); -   -  /// EndModule - Emit all Dwarf sections that should come after the content. -  /// -  void EndModule(); -   -  /// BeginFunction - Gather pre-function debug information.  Assumes being  -  /// emitted immediately after the function entry point. -  void BeginFunction(const MachineFunction *MF); -   -  /// EndFunction - Gather and emit post-function debug information. -  /// -  void EndFunction(const MachineFunction *MF); - -  /// ShouldEmitDwarfDebug - Returns true if Dwarf debugging declarations should -  /// be emitted. -  bool ShouldEmitDwarfDebug() const; - -  void BeginScope(const MachineInstr *MI); -  void EndScope(const MachineInstr *MI); -}; - -} // end llvm namespace - -#endif  | 
