diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-10-28 23:58:58 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-10-28 23:58:58 +0000 |
commit | 39f62fa3dd1f683288e67ba58bef785b2dcaa98c (patch) | |
tree | ddc5a3d95a9b8855bdb382bfd5d69a2be4c04ec2 /lib/DebugInfo/DWARFDebugInfoEntry.h | |
parent | 61e22ea592f877d4b7a632fc3ac208445612a8bd (diff) | |
download | llvm-39f62fa3dd1f683288e67ba58bef785b2dcaa98c.tar.gz llvm-39f62fa3dd1f683288e67ba58bef785b2dcaa98c.tar.bz2 llvm-39f62fa3dd1f683288e67ba58bef785b2dcaa98c.tar.xz |
Merge DWARFDIE::extractFast and DWARFDIE::extract into one function.
Complicated CU-DIE-specific logic in the latter was never used,
and it makes sense to have safety checks for broken dwarf in the former.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193563 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFDebugInfoEntry.h')
-rw-r--r-- | lib/DebugInfo/DWARFDebugInfoEntry.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/DebugInfo/DWARFDebugInfoEntry.h b/lib/DebugInfo/DWARFDebugInfoEntry.h index 12479bfd3c..aa61056332 100644 --- a/lib/DebugInfo/DWARFDebugInfoEntry.h +++ b/lib/DebugInfo/DWARFDebugInfoEntry.h @@ -50,12 +50,6 @@ public: /// doesn't change OffsetPtr. bool extractFast(const DWARFUnit *U, uint32_t *OffsetPtr); - /// Extract a debug info entry for a given compile unit from the - /// .debug_info and .debug_abbrev data starting at the given offset. - /// If compile unit can't be parsed, returns false and doesn't change - /// OffsetPtr. - bool extract(const DWARFUnit *U, uint32_t *OffsetPtr); - uint32_t getTag() const { return AbbrevDecl ? AbbrevDecl->getTag() : 0; } bool isNULL() const { return AbbrevDecl == 0; } |