aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-08-15 22:04:40 +0000
committerDevang Patel <dpatel@apple.com>2011-08-15 22:04:40 +0000
commitd0b5a5ece4f6bf1a29bacefcdd07eaa7ba83e316 (patch)
tree956c9241f4ee3bcd43b48840340fa80cfa16e3e0 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
parentc869b4397aa7c45bfcd71951a1f15e6e7228be79 (diff)
downloadexternal_llvm-d0b5a5ece4f6bf1a29bacefcdd07eaa7ba83e316.zip
external_llvm-d0b5a5ece4f6bf1a29bacefcdd07eaa7ba83e316.tar.gz
external_llvm-d0b5a5ece4f6bf1a29bacefcdd07eaa7ba83e316.tar.bz2
Refactor. Variables are part of compile unit so let CompileUnit create new variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137663 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index f03a93f..5a155b4 100644
--- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@ -281,6 +281,9 @@ public:
/// vtables.
void constructContainingTypeDIEs();
+ /// constructVariableDIE - Construct a DIE for the given DbgVariable.
+ DIE *constructVariableDIE(DbgVariable *DV, bool isScopeAbstract);
+
/// createMemberDIE - Create new member DIE.
DIE *createMemberDIE(DIDerivedType DT);