This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Fix the internal_clone implementation on loongarch
ClosedPublic

Authored by tangyouling on Dec 8 2022, 4:07 AM.

Details

Summary

Fix syscall clone argument passing order, also call fn(arg) should
return, change jr $a5(jirl $zero, $a5, 0) to jirl $ra, $a5, 0.

Diff Detail

Event Timeline

tangyouling created this revision.Dec 8 2022, 4:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 8 2022, 4:07 AM
tangyouling requested review of this revision.Dec 8 2022, 4:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 8 2022, 4:07 AM
SixWeining accepted this revision.Dec 8 2022, 4:19 AM
This revision is now accepted and ready to land.Dec 8 2022, 4:19 AM
This revision was landed with ongoing or failed builds.Dec 9 2022, 7:58 PM
This revision was automatically updated to reflect the committed changes.