update return register accordingly for all arch#1367
update return register accordingly for all arch#1367xwings merged 1 commit intoqilingframework:devfrom
Conversation
Basically, I've been working on improving function call feature and happened to found this is not in the right place. |
interesting. i think you should start to add in some small unit test. i remember u told me the test run too long. but again, incomplete test it ways better better then no test. |
The comment seems left by me. IIRC, the reason behind the comment is that, depending on the context, the return address may be on stack, say interrupt handlers. Though in most cases for userland code, LR is used instead. |
update return register accordingly, so setReturnAddress could work as expected.