summaryrefslogtreecommitdiff
path: root/lib/DebugInfo/DWARFContext.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2014-04-25 21:10:56 +0000
committerAlexey Samsonov <samsonov@google.com>2014-04-25 21:10:56 +0000
commitbfd66f57dab0ca828b4335d4be806ebd960200f9 (patch)
tree301841536fddacc738484262f65b06061478f79b /lib/DebugInfo/DWARFContext.cpp
parentd761cc1dfa7bb55c0c995dd409025147a51c1258 (diff)
downloadllvm-bfd66f57dab0ca828b4335d4be806ebd960200f9.tar.gz
llvm-bfd66f57dab0ca828b4335d4be806ebd960200f9.tar.bz2
llvm-bfd66f57dab0ca828b4335d4be806ebd960200f9.tar.xz
[DWARF parser] Cleanup code in DWARFDebugAbbrev.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFContext.cpp')
-rw-r--r--lib/DebugInfo/DWARFContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/DebugInfo/DWARFContext.cpp b/lib/DebugInfo/DWARFContext.cpp
index 76d6106ba5..e74f1acdff 100644
--- a/lib/DebugInfo/DWARFContext.cpp
+++ b/lib/DebugInfo/DWARFContext.cpp
@@ -218,7 +218,7 @@ const DWARFDebugAbbrev *DWARFContext::getDebugAbbrev() {
DataExtractor abbrData(getAbbrevSection(), isLittleEndian(), 0);
Abbrev.reset(new DWARFDebugAbbrev());
- Abbrev->parse(abbrData);
+ Abbrev->extract(abbrData);
return Abbrev.get();
}
@@ -228,7 +228,7 @@ const DWARFDebugAbbrev *DWARFContext::getDebugAbbrevDWO() {
DataExtractor abbrData(getAbbrevDWOSection(), isLittleEndian(), 0);
AbbrevDWO.reset(new DWARFDebugAbbrev());
- AbbrevDWO->parse(abbrData);
+ AbbrevDWO->extract(abbrData);
return AbbrevDWO.get();
}