Fix syscall clone argument passing order, also call fn(arg) should
return, change jr $a5(jirl $zero, $a5, 0) to jirl $ra, $a5, 0.
Details
Details
- Reviewers
SixWeining xen0n xry111 MaskRay XiaodongLoong lixing-star - Group Reviewers
Restricted Project - Commits
- rG1f8ea4149cbe: [sanitizer] Fix the internal_clone implementation on loongarch
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
See the definition of __clone in glibc for details,
Link: https://elixir.bootlin.com/glibc/glibc-2.36/source/sysdeps/unix/sysv/linux/loongarch/clone.S#L33