diff options
author | David Blaikie <dblaikie@gmail.com> | 2016-12-15 23:17:52 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2016-12-15 23:17:52 +0000 |
commit | 3e3eb33ed7fbf1140cb05c6d47d5ae60f61a1ec5 (patch) | |
tree | d5e98d0b1ca11e8b42632d697691df48c2ed221e /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | 890e8503483c8f1755ad9ad71b1b22d803782186 (diff) | |
download | bcm5719-llvm-3e3eb33ed7fbf1140cb05c6d47d5ae60f61a1ec5.tar.gz bcm5719-llvm-3e3eb33ed7fbf1140cb05c6d47d5ae60f61a1ec5.zip |
DebugInfo: Emit ranges for functions with DISubprograms but lacking locations on any instructions
This seems more consistent, and helps tidy up/simplify some other code
in this change.
llvm-svn: 289889
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index 9412e50884e..da20bef5221 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -172,7 +172,7 @@ public: unsigned *ChildScopeCount = nullptr); /// \brief Construct a DIE for this subprogram scope. - void constructSubprogramScopeDIE(LexicalScope *Scope); + void constructSubprogramScopeDIE(const DISubprogram *Sub, LexicalScope *Scope); DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE); |