aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/DwarfWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/DwarfWriter.h')
-rw-r--r--include/llvm/CodeGen/DwarfWriter.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h
index 5fbc8d9cee..b9953004df 100644
--- a/include/llvm/CodeGen/DwarfWriter.h
+++ b/include/llvm/CodeGen/DwarfWriter.h
@@ -43,6 +43,7 @@ namespace llvm {
class Module;
class SubprogramDesc;
class Type;
+ class TypeDesc;
//===--------------------------------------------------------------------===//
// DWLabel - Labels are used to track locations in the assembler file.
@@ -626,6 +627,14 @@ public:
void NewGlobalEntity(const std::string &Name, DIE *Entity);
private:
+
+ /// NewType - Create a new type DIE.
+ ///
+ DIE *NewType(DIE *Unit, TypeDesc *TyDesc);
+
+ /// NewCompileUnit - Create new compile unit DIE.
+ ///
+ DIE *NewCompileUnit(CompileUnitDesc *CompileUnit);
/// NewGlobalVariable - Make a new global variable DIE.
///
@@ -635,10 +644,6 @@ private:
///
DIE *NewSubprogram(SubprogramDesc *SPD);
- /// NewCompileUnit - Create new compile unit information.
- ///
- DIE *NewCompileUnit(CompileUnitDesc *CompileUnit);
-
/// EmitInitial - Emit initial Dwarf declarations.
///
void EmitInitial() const;