提交 b1311dd4 编写于 作者: S Sukhikh Alexander

Adapter function for lldb to not deal with 64-bit arguments on 32-bit systems

Author: Kholiavin Nikolai
Signed-off-by: NSukhikh Alexander <sukhikh.alexander@huawei-partners.com>
上级 7881bd1f
......@@ -50,3 +50,7 @@ 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 */
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.
先完成此消息的编辑!
想要评论请 注册