summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.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
commit3acc70e536b959b247d871b432dfd1722da19907 (patch)
tree1438cc4b91709622f30c0042cffe038bd5fd6f48 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent4419cd2464fcad10665524e1e1f504c985a03700 (diff)
downloadbcm5719-llvm-3acc70e536b959b247d871b432dfd1722da19907.tar.gz
bcm5719-llvm-3acc70e536b959b247d871b432dfd1722da19907.zip
Refactor. Variables are part of compile unit so let CompileUnit create new variable.
llvm-svn: 137663
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 2a3b03ebe46..1118a7f0555 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -329,7 +329,7 @@ private:
DIE *constructVariableDIE(DbgVariable *DV, LexicalScope *S);
/// constructScopeDIE - Construct a DIE for this scope.
- DIE *constructScopeDIE(LexicalScope *Scope);
+ DIE *constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
/// EmitSectionLabels - Emit initial Dwarf sections with a label at
/// the start of each one.
OpenPOWER on IntegriCloud