diff options
author | Ayke van Laethem <aykevanlaethem@gmail.com> | 2020-06-16 21:39:09 +0200 |
---|---|---|
committer | Ayke van Laethem <aykevanlaethem@gmail.com> | 2020-06-18 11:26:58 +0200 |
commit | 15bf42d503b9c388135308d37e1d153a05b33699 (patch) | |
tree | 8cff0d7de15bd3fdc4f61424c6be233ef0a82845 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1d7b4a7e5e4a25605ec9926da1fb461840a1f216 (diff) | |
download | llvm-15bf42d503b9c388135308d37e1d153a05b33699.zip llvm-15bf42d503b9c388135308d37e1d153a05b33699.tar.gz llvm-15bf42d503b9c388135308d37e1d153a05b33699.tar.bz2 |
[AVR] Implement disassembly of 32-bit instructions
This needed two fixes:
* 32-bit instructions were read in the wrong order. The machine code
swaps the two 16-bit instruction words, which wasn't undone when
decoding instructions.
* Jump and call instructions don't encode the lowest address bit,
which is always zero. Therefore, the address needed to be shifted by
one to fix that.
Differential Revision: https://reviews.llvm.org/D81961
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions