]> granicus.if.org Git - llvm/commit
[DWARF] Fix DWARFUnit::getDebugInfoSize() for 64-bit DWARF.
authorIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 20 Aug 2019 09:50:44 +0000 (09:50 +0000)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 20 Aug 2019 09:50:44 +0000 (09:50 +0000)
commit8e766b3b5b4529c492d2e354496fa86929777b02
tree30c18d82283d082faffda3e626ca1e3a45067be2
parent10743447fa610b92d615c8e2eb95b348c5f94977
[DWARF] Fix DWARFUnit::getDebugInfoSize() for 64-bit DWARF.

The calculation there was correct only for DWARF32.

Differential Revision: https://reviews.llvm.org/D66421

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369356 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/BinaryFormat/Dwarf.h
include/llvm/DebugInfo/DWARF/DWARFUnit.h
test/tools/llvm-dwarfdump/X86/debug_info_min_dwarf64.s [new file with mode: 0644]