diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-10-28 23:41:49 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-10-28 23:41:49 +0000 |
commit | a56bbf0c8cac571c0d9a49f6fa3d1e349a8653fe (patch) | |
tree | 9f7ce0e9c02dd9d4e7d456034b89ba04900c86b2 /llvm/lib/DebugInfo/DWARFUnit.cpp | |
parent | 5e9ed7cf1db8e614be4968a981e1ba0e43d21d16 (diff) | |
download | bcm5719-llvm-a56bbf0c8cac571c0d9a49f6fa3d1e349a8653fe.tar.gz bcm5719-llvm-a56bbf0c8cac571c0d9a49f6fa3d1e349a8653fe.zip |
DWARF parser: Use ArrayRef to represent form sizes and simplify DWARFDIE::extractFast() interface. No functionality change.
llvm-svn: 193560
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFUnit.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/DWARFUnit.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/DebugInfo/DWARFUnit.cpp b/llvm/lib/DebugInfo/DWARFUnit.cpp index 25062cd922a..090d441a148 100644 --- a/llvm/lib/DebugInfo/DWARFUnit.cpp +++ b/llvm/lib/DebugInfo/DWARFUnit.cpp @@ -194,12 +194,9 @@ void DWARFUnit::extractDIEsToVector( uint32_t NextCUOffset = getNextUnitOffset(); DWARFDebugInfoEntryMinimal DIE; uint32_t Depth = 0; - const uint8_t *FixedFormSizes = - DWARFFormValue::getFixedFormSizes(getAddressByteSize(), getVersion()); bool IsCUDie = true; - while (Offset < NextCUOffset && - DIE.extractFast(this, FixedFormSizes, &Offset)) { + while (Offset < NextCUOffset && DIE.extractFast(this, &Offset)) { if (IsCUDie) { if (AppendCUDie) Dies.push_back(DIE); |