summaryrefslogtreecommitdiff
path: root/lib/DebugInfo/DWARFDebugInfoEntry.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-10-28 23:41:49 +0000
committerAlexey Samsonov <samsonov@google.com>2013-10-28 23:41:49 +0000
commit6faff4886a3059a8cda08f015d29a6c9a0a4de3c (patch)
treeb053da16d95ba9281bcfb868b049df1009f01f41 /lib/DebugInfo/DWARFDebugInfoEntry.h
parent1765daa21c51a3e6bfc7db4adbbcbac0e0dcff3e (diff)
downloadllvm-6faff4886a3059a8cda08f015d29a6c9a0a4de3c.tar.gz
llvm-6faff4886a3059a8cda08f015d29a6c9a0a4de3c.tar.bz2
llvm-6faff4886a3059a8cda08f015d29a6c9a0a4de3c.tar.xz
DWARF parser: Use ArrayRef to represent form sizes and simplify DWARFDIE::extractFast() interface. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFDebugInfoEntry.h')
-rw-r--r--lib/DebugInfo/DWARFDebugInfoEntry.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/DebugInfo/DWARFDebugInfoEntry.h b/lib/DebugInfo/DWARFDebugInfoEntry.h
index e073d87b2b..12479bfd3c 100644
--- a/lib/DebugInfo/DWARFDebugInfoEntry.h
+++ b/lib/DebugInfo/DWARFDebugInfoEntry.h
@@ -45,11 +45,10 @@ public:
void dumpAttribute(raw_ostream &OS, const DWARFUnit *u, uint32_t *offset_ptr,
uint16_t attr, uint16_t form, unsigned indent = 0) const;
- /// Extracts a debug info entry, which is a child of a given compile unit,
+ /// Extracts a debug info entry, which is a child of a given unit,
/// starting at a given offset. If DIE can't be extracted, returns false and
/// doesn't change OffsetPtr.
- bool extractFast(const DWARFUnit *U, const uint8_t *FixedFormSizes,
- uint32_t *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.