提交 945fc839 编写于 作者: S Sukhikh Alexander

Fix __lldb_mmap name.

Export __lldb_mmap symbol in libc.map.txt

Issue I661Z1
Test: Build and boot devices.
Signed-off-by: NSukhikh Alexander <sukhikh.alexander@huawei-partners.com>
上级 b1311dd4
......@@ -133,6 +133,7 @@
__libc_mmap;
__libc_munmap;
__libc_start_main;
__lldb_mmap;
__localtime64;
__localtime64_r;
__lstat_time64;
......
......@@ -51,6 +51,6 @@ 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) {
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.
先完成此消息的编辑!
想要评论请 注册