DescriptionUse R0/R1 instead of R4/R5 for ARM eh_return return values
Returning things in callee-save registers can clobber live variables in
functions with catch blocks. I'm not 100% sure how this ever worked.
The side effect of this means I had to fix the return behavior of functions
which return via eh_return so that they save and restore R0/R1 in addition
to the callee-save registers. This is all part of our ARM dwarf EH localmod,
but doing this same thing on x86 should fix PR8541.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4171
R=jvoung@chromium.org
Committed: https://chromium.googlesource.com/native_client/pnacl-llvm/+/43d482ad1c96633d1bfb5ed7d1e50c97928ea8fa
Patch Set 1 #
Total comments: 8
Patch Set 2 : review #
Messages
Total messages: 4 (0 generated)
|