Support 64-bit offsets in utility classes (1/5)
authorIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 6 Aug 2019 10:47:20 +0000 (10:47 +0000)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 6 Aug 2019 10:47:20 +0000 (10:47 +0000)
commitf5f35c5cd110e22c4b216ec1dc53255e32adc011
treeff284ebcb776857fe4043391261ae627d08321f3
parent7b24dd741c6c4734f8cf5b9fafc12bf9e38411d6
Support 64-bit offsets in utility classes (1/5)

Using 64-bit offsets is required to fully implement 64-bit DWARF.
As these classes are used in many different libraries they should
temporarily support both 32- and 64-bit offsets.

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

llvm-svn: 368013
llvm/include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h
llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
llvm/include/llvm/Support/DataExtractor.h
llvm/lib/DebugInfo/DWARF/DWARFDataExtractor.cpp
llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
llvm/lib/Support/DataExtractor.cpp
llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp
llvm/unittests/Support/DataExtractorTest.cpp