diff options
author | Devang Patel <dpatel@apple.com> | 2011-08-15 17:57:41 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-08-15 17:57:41 +0000 |
commit | dfd6ec3ce1e60c2ecebcdd781ec28dec1a9827da (patch) | |
tree | c975b9921b9bb759bfb883abc849395f6d97a1f6 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | 0a0ba9d883f5a5a4203f25b50cd0fd382d52414d (diff) | |
download | bcm5719-llvm-dfd6ec3ce1e60c2ecebcdd781ec28dec1a9827da.tar.gz bcm5719-llvm-dfd6ec3ce1e60c2ecebcdd781ec28dec1a9827da.zip |
Refactor. Global variables are part of compile unit so let CompileUnit create new global variable.
llvm-svn: 137621
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index a2c6518affb..f03a93f3855 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -250,6 +250,9 @@ public: /// information entry. DIEEntry *createDIEEntry(DIE *Entry); + /// createGlobalVariableDIE - create global variable DIE. + void createGlobalVariableDIE(const MDNode *N); + void addPubTypes(DISubprogram SP); /// constructTypeDIE - Construct basic type die from DIBasicType. |