Displaying 1 result from an estimated 1 matches for "e3a00005".
Did you mean:
e3a00000
2012 Jul 06
3
[LLVMdev] Problem with __inline keyword
...mov fp, sp
8: e24dd008 sub sp, sp, #8
c: eb000003 bl 20 <foo>
10: e58d0004 str r0, [sp, #4]
14: e1a0d00b mov sp, fp
18: e8bd4800 pop {fp, lr}
1c: e12fff1e bx lr
00000020 <foo>:
20: e3a00005 mov r0, #5
24: e12fff1e bx lr
Finally, if I compile with -O2, then in either case, inlining takes
place and there's no problem:
00000000 <bar>:
0: e3a00005 mov r0, #5
4: e12fff1e bx lr
I know there are some weird semantics amo...