[DebugInfo] Fix emitting DWARF64 .debug_loclists sections (14/19).
authorIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 15 Sep 2020 04:31:34 +0000 (11:31 +0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 15 Sep 2020 05:23:31 +0000 (12:23 +0700)
commit3158d3dd4b7e5c6e2aff7c81355757d26579f1a3
tree7da813246204c99893bb3d2d7a68681e51be4241
parentf9b242fe24f764166f818b3260c0635fc0bef6e9
[DebugInfo] Fix emitting DWARF64 .debug_loclists sections (14/19).

The size of the offsets in the table depends on the DWARF format.

Differential Revision: https://reviews.llvm.org/D87020
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/test/CodeGen/X86/debug-loclists-lto.ll
llvm/test/CodeGen/X86/debug-loclists.ll