[LLDB] Let DataExtractor deal with two-byte addresses
authorAyke van Laethem <aykevanlaethem@gmail.com>
Tue, 4 Feb 2020 15:29:01 +0000 (16:29 +0100)
committerAyke van Laethem <aykevanlaethem@gmail.com>
Tue, 25 Feb 2020 15:27:38 +0000 (16:27 +0100)
commitec1efe71130f5b049e53828281204b50d89d4cf6
treec295fcaf6dbb647f9a4030a10588d39e10b50860
parent2855c8fed9326ec44526767f1596a4fe4e55dc70
[LLDB] Let DataExtractor deal with two-byte addresses

AVR usually uses two byte addresses. By making DataExtractor deal with
this, it is possible to load AVR binaries that don't have debug info
associated with them.

Differential Revision: https://reviews.llvm.org/D73969
lldb/source/Utility/DataExtractor.cpp
lldb/unittests/Utility/DataExtractorTest.cpp