diff options
| author | Eric Christopher <echristo@gmail.com> | 2013-12-03 00:45:59 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2013-12-03 00:45:59 +0000 |
| commit | be2513e143a23d5ac20a9c13fd70e0302299770a (patch) | |
| tree | 12bdc0463c93069be706df29e3c945a1e36974dc /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | |
| parent | 44e66c13540bf28611296eb20d5aabbdc3d4a4fb (diff) | |
| download | bcm5719-llvm-be2513e143a23d5ac20a9c13fd70e0302299770a.tar.gz bcm5719-llvm-be2513e143a23d5ac20a9c13fd70e0302299770a.zip | |
Refactor the handling of lexical block and inline scope ranges
into a single function. No functional change.
llvm-svn: 196181
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 6a28ac6a0c8..e49b05b46c9 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -501,6 +501,11 @@ class DwarfDebug { /// going to be null. bool isLexicalScopeDIENull(LexicalScope *Scope); + /// \brief A helper function to construct a RangeSpanList for a given + /// lexical scope. + void addScopeRangeList(CompileUnit *TheCU, DIE *ScopeDIE, + const SmallVectorImpl<InsnRange> &Range); + /// \brief Construct new DW_TAG_lexical_block for this scope and /// attach DW_AT_low_pc/DW_AT_high_pc labels. DIE *constructLexicalScopeDIE(CompileUnit *TheCU, LexicalScope *Scope); |

