summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/DwarfWriter.h
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-02-23 16:58:18 +0000
committerJim Laskey <jlaskey@mac.com>2006-02-23 16:58:18 +0000
commitf4afdd9f413c472e5785355f0d69847eaf729192 (patch)
tree14c0603e75177e28318cb17d6b4a00765ec58956 /include/llvm/CodeGen/DwarfWriter.h
parent7718658064a67b23403a96e5c1d309a338966b41 (diff)
downloadllvm-f4afdd9f413c472e5785355f0d69847eaf729192.tar.gz
llvm-f4afdd9f413c472e5785355f0d69847eaf729192.tar.bz2
llvm-f4afdd9f413c472e5785355f0d69847eaf729192.tar.xz
DwarfWriter reading basic type information from llvm-gcc4 code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26331 91177308-0d34-0410-b5e6-96231b3b80d8
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;