summaryrefslogtreecommitdiff
path: root/lib/DebugInfo/DWARFDebugArangeSet.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-10-31 18:54:20 +0000
committerAlexey Samsonov <samsonov@google.com>2013-10-31 18:54:20 +0000
commit9e189f12e6779dd6e7918f8b20f6ace4f9838dd7 (patch)
tree02bcdb0aefd0e796e340ea20d249146f4979a7ca /lib/DebugInfo/DWARFDebugArangeSet.h
parent67b52144d2959067e5d422163b6d0ebe3cbb7164 (diff)
downloadllvm-9e189f12e6779dd6e7918f8b20f6ace4f9838dd7.tar.gz
llvm-9e189f12e6779dd6e7918f8b20f6ace4f9838dd7.tar.bz2
llvm-9e189f12e6779dd6e7918f8b20f6ace4f9838dd7.tar.xz
DWARFDebugArangeSet: remove dead code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFDebugArangeSet.h')
-rw-r--r--lib/DebugInfo/DWARFDebugArangeSet.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/DebugInfo/DWARFDebugArangeSet.h b/lib/DebugInfo/DWARFDebugArangeSet.h
index d76867615a..49a713201d 100644
--- a/lib/DebugInfo/DWARFDebugArangeSet.h
+++ b/lib/DebugInfo/DWARFDebugArangeSet.h
@@ -44,7 +44,6 @@ public:
private:
typedef std::vector<Descriptor> DescriptorColl;
- typedef DescriptorColl::iterator DescriptorIter;
typedef DescriptorColl::const_iterator DescriptorConstIter;
uint32_t Offset;
@@ -54,15 +53,11 @@ private:
public:
DWARFDebugArangeSet() { clear(); }
void clear();
- void compact();
bool extract(DataExtractor data, uint32_t *offset_ptr);
void dump(raw_ostream &OS) const;
uint32_t getCompileUnitDIEOffset() const { return HeaderData.CuOffset; }
- uint32_t getOffsetOfNextEntry() const { return Offset + HeaderData.Length + 4; }
- uint32_t findAddress(uint64_t address) const;
uint32_t getNumDescriptors() const { return ArangeDescriptors.size(); }
- const struct Header &getHeader() const { return HeaderData; }
const Descriptor *getDescriptor(uint32_t i) const {
if (i < ArangeDescriptors.size())
return &ArangeDescriptors[i];