diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-11-03 16:40:43 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-11-03 16:40:43 +0000 |
commit | bc532b44a0908bf85ce9ef1fabd971e19eb00c00 (patch) | |
tree | a1d54b702cef5ec7d530499807448b2b29cf5ca9 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | 8313c768369c29051c6e5b9bfe25af3744fe4043 (diff) | |
download | bcm5719-llvm-bc532b44a0908bf85ce9ef1fabd971e19eb00c00.tar.gz bcm5719-llvm-bc532b44a0908bf85ce9ef1fabd971e19eb00c00.zip |
Sink DwarfUnit::CURanges into DwarfCompileUnit
llvm-svn: 221161
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index d193ad805f7..53be5188398 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -52,6 +52,9 @@ class DwarfCompileUnit : public DwarfUnit { // the CU itself. SmallVector<RangeSpanList, 1> CURangeLists; + // List of ranges for a given compile unit. + SmallVector<RangeSpan, 1> CURanges; + /// \brief Construct a DIE for the given DbgVariable without initializing the /// DbgVariable's DIE reference. std::unique_ptr<DIE> constructVariableDIEImpl(const DbgVariable &DV, @@ -233,6 +236,9 @@ public: return CURangeLists; } SmallVectorImpl<RangeSpanList> &getRangeLists() { return CURangeLists; } + + /// getRanges - Get the list of ranges for this unit. + const SmallVectorImpl<RangeSpan> &getRanges() const { return CURanges; } }; } // end llvm namespace |