summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFUnit.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2014-04-24 22:51:03 +0000
committerAlexey Samsonov <samsonov@google.com>2014-04-24 22:51:03 +0000
commit7682f812663d6479f345b0d7cb79cfd6b7d55196 (patch)
treefce2549e00eadfd991d16bc422dc8365daf05cbe /llvm/lib/DebugInfo/DWARFUnit.h
parenteb36ddf462de5621fab3a1fb064f526d7bd5fb3d (diff)
downloadbcm5719-llvm-7682f812663d6479f345b0d7cb79cfd6b7d55196.tar.gz
bcm5719-llvm-7682f812663d6479f345b0d7cb79cfd6b7d55196.zip
[DWARF parser] DWARFUnit ctor doesn't need both parsed and raw .debug_abbrev section. Remove the former.
llvm-svn: 207153
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFUnit.h')
-rw-r--r--llvm/lib/DebugInfo/DWARFUnit.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/DebugInfo/DWARFUnit.h b/llvm/lib/DebugInfo/DWARFUnit.h
index 78997f5ca3f..9743b22f727 100644
--- a/llvm/lib/DebugInfo/DWARFUnit.h
+++ b/llvm/lib/DebugInfo/DWARFUnit.h
@@ -29,7 +29,6 @@ class raw_ostream;
class DWARFUnit {
const DWARFDebugAbbrev *Abbrev;
StringRef InfoSection;
- StringRef AbbrevSection;
StringRef RangeSection;
uint32_t RangeSectionBase;
StringRef StringSection;
@@ -62,10 +61,9 @@ protected:
virtual bool extractImpl(DataExtractor debug_info, uint32_t *offset_ptr);
public:
-
- DWARFUnit(const DWARFDebugAbbrev *DA, StringRef IS, StringRef AS,
- StringRef RS, StringRef SS, StringRef SOS, StringRef AOS,
- const RelocAddrMap *M, bool LE);
+ DWARFUnit(const DWARFDebugAbbrev *DA, StringRef IS, StringRef RS,
+ StringRef SS, StringRef SOS, StringRef AOS, const RelocAddrMap *M,
+ bool LE);
virtual ~DWARFUnit();
OpenPOWER on IntegriCloud