summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugAranges.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-10-01 15:48:10 +0000
committerAlexey Samsonov <samsonov@google.com>2013-10-01 15:48:10 +0000
commit0c9b72559cd16d6f96ce66104682d709bf46b621 (patch)
tree3851be4358d8e7b4f6f9fe4b59004b865ccee8c5 /llvm/lib/DebugInfo/DWARFDebugAranges.h
parentb63e300b67cf56f988441cee63bdd15e394aacb8 (diff)
downloadbcm5719-llvm-0c9b72559cd16d6f96ce66104682d709bf46b621.tar.gz
bcm5719-llvm-0c9b72559cd16d6f96ce66104682d709bf46b621.zip
[DebugInfo] Remove unused functions from DWARFDebugAranges and fix code style.
llvm-svn: 191778
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugAranges.h')
-rw-r--r--llvm/lib/DebugInfo/DWARFDebugAranges.h31
1 files changed, 8 insertions, 23 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugAranges.h b/llvm/lib/DebugInfo/DWARFDebugAranges.h
index 1509ffad41f..a5da2137ef4 100644
--- a/llvm/lib/DebugInfo/DWARFDebugAranges.h
+++ b/llvm/lib/DebugInfo/DWARFDebugAranges.h
@@ -65,30 +65,15 @@ public:
Aranges.clear();
ParsedCUOffsets.clear();
}
- bool allRangesAreContiguous(uint64_t& LoPC, uint64_t& HiPC) const;
- bool getMaxRange(uint64_t& LoPC, uint64_t& HiPC) const;
- bool extract(DataExtractor debug_aranges_data);
- bool generate(DWARFContext *ctx);
-
- // Use append range multiple times and then call sort
- void appendRange(uint32_t cu_offset, uint64_t low_pc, uint64_t high_pc);
- void sort(bool minimize, uint32_t n);
-
- const Range *rangeAtIndex(uint32_t idx) const {
- if (idx < Aranges.size())
- return &Aranges[idx];
- return NULL;
- }
+ void extract(DataExtractor DebugArangesData);
+ void generate(DWARFContext *CTX);
+
+ // Use appendRange multiple times and then call sort.
+ void appendRange(uint32_t CUOffset, uint64_t LowPC, uint64_t HighPC);
+ void sort(bool Minimize, uint32_t OverlapSize);
+
void dump(raw_ostream &OS) const;
- uint32_t findAddress(uint64_t address) const;
- bool isEmpty() const { return Aranges.empty(); }
- uint32_t getNumRanges() const { return Aranges.size(); }
-
- uint32_t offsetAtIndex(uint32_t idx) const {
- if (idx < Aranges.size())
- return Aranges[idx].Offset;
- return -1U;
- }
+ uint32_t findAddress(uint64_t Address) const;
typedef std::vector<Range> RangeColl;
typedef RangeColl::const_iterator RangeCollIterator;
OpenPOWER on IntegriCloud