From d0b5a5ece4f6bf1a29bacefcdd07eaa7ba83e316 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 15 Aug 2011 22:04:40 +0000 Subject: 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 --- lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.h') 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); -- cgit v1.1