summaryrefslogtreecommitdiff
path: root/lib/DebugInfo/DWARFTypeUnit.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
commita189d1ad57e712ff20167269b9014241ed2d84be (patch)
tree008dc22b743e19cd368f6bba616fd9555694455d /lib/DebugInfo/DWARFTypeUnit.h
parentf93114e7ed44ea52754f03d52663ce5c335b40eb (diff)
downloadllvm-a189d1ad57e712ff20167269b9014241ed2d84be.tar.gz
llvm-a189d1ad57e712ff20167269b9014241ed2d84be.tar.bz2
llvm-a189d1ad57e712ff20167269b9014241ed2d84be.tar.xz
[DWARF parser] DWARFUnit ctor doesn't need both parsed and raw .debug_abbrev section. Remove the former.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFTypeUnit.h')
-rw-r--r--lib/DebugInfo/DWARFTypeUnit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/DebugInfo/DWARFTypeUnit.h b/lib/DebugInfo/DWARFTypeUnit.h
index 05e13ff104..365aa26996 100644
--- a/lib/DebugInfo/DWARFTypeUnit.h
+++ b/lib/DebugInfo/DWARFTypeUnit.h
@@ -19,10 +19,10 @@ private:
uint64_t TypeHash;
uint32_t TypeOffset;
public:
- DWARFTypeUnit(const DWARFDebugAbbrev *DA, StringRef IS, StringRef AS,
- StringRef RS, StringRef SS, StringRef SOS, StringRef AOS,
+ DWARFTypeUnit(const DWARFDebugAbbrev *DA, StringRef IS, StringRef RS,
+ StringRef SS, StringRef SOS, StringRef AOS,
const RelocAddrMap *M, bool LE)
- : DWARFUnit(DA, IS, AS, RS, SS, SOS, AOS, M, LE) {}
+ : DWARFUnit(DA, IS, RS, SS, SOS, AOS, M, LE) {}
uint32_t getSize() const override { return DWARFUnit::getSize() + 12; }
void dump(raw_ostream &OS);
protected: