Commit r221751 seems to have also caused the Address parameter to llvm::MCDisassembler::getInstruction to be ignored in the final address computation, since it gets both added and then subtracted as an offset. This diff removes this extra indirection so that the Address parameter works as it did in LLVM3.5 and previous.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
Event Timeline
Comment Actions
it looks like the other disassembler targets also ignore Address and simply read the first N bytes from "Bytes", so i assume that was an intentional change in llvm3.5?