未验证 提交 b7ce9d32 编写于 作者: O openharmony_ci 提交者: Gitee

!730 Add adapter lldb_mmap function for mmap with off_t replaced by int

Merge pull request !730 from Sukhikh Alexander/fix-32-bit-jit
......@@ -133,6 +133,7 @@
__libc_mmap;
__libc_munmap;
__libc_start_main;
__lldb_mmap;
__localtime64;
__localtime64_r;
__lstat_time64;
......
......@@ -50,3 +50,11 @@ weak_alias(__mmap, mmap);
weak_alias(mmap, mmap64);
#endif // HOOK_ENABLE
/*
Adapter function for lldb to not deal with 64-bit arguments on 32-bit systems
Issue I661Z1
Test: Build and boot devices.
*/
void *__lldb_mmap(void *start, size_t len, int prot, int flags, int fd, intptr_t off) {
return mmap(start, len, prot, flags, fd, off);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册