[PATCH] [sanitizer][MIPS] Implement clone for MIPS
Sagar Thakur
Sagar.Thakur at imgtec.com
Fri Apr 10 01:52:12 PDT 2015
Hi @earthdok,
> Note also that the glibc implementation appears to have a few differences between 32 and 64 bit mips, so please double check those to make sure they don't affect us.
The only difference between 32-bit and 64-bit in glibc implementation I can see is argument passing to clone syscall. This patch was written according to n64 abi of mips. In case of n64 abi we have argument registers a0 to a5 for syscalls. Therefore this patch will work fine for LSan 64-bit on Mips.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D8318
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list