summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit4316df592152f4bf1151dbe89ddb3312c34ded3f (patch)
tree443f638f579fa7a03a83de56a5cf356f3718e785 /llvm/lib/DebugInfo/DWARFContext.cpp
parent98118c38a3c9ba2b985a0c0d069038c47c09c998 (diff)
downloadbcm5719-llvm-4316df592152f4bf1151dbe89ddb3312c34ded3f.tar.gz
bcm5719-llvm-4316df592152f4bf1151dbe89ddb3312c34ded3f.zip
[DWARF parser] Cleanup code in DWARFDebugAbbrev.
No functionality change. llvm-svn: 207274
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFContext.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARFContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARFContext.cpp
index 76d6106ba5a..e74f1acdff5 100644
--- a/llvm/lib/DebugInfo/DWARFContext.cpp
+++ b/llvm/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();
}
OpenPOWER on IntegriCloud