-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.0.0rc4 branch instruction imm ambiguous #2072
Comments
Related #2056 |
#2056 is exactly the problem. Just scaled up to 64bit values. In uint64_t imm = (MCOperand_getImm(Op) * 4) + MI->address; and later assigned to an MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].imm = imm; I doubt though that we going to fix this before the release? |
@Rot127 it's a hard thing to fix properly without big changes AFAIK. It's better to do that during the breaking season of merging |
Yes. Also I wouldn't count on LLVM having all the operand type information correct. This kind of info is often neglected. |
operand.imm currently outputs as signed version of the branch label which is incorrect.
Should it be:
The text was updated successfully, but these errors were encountered: