diff --git a/libc.map.txt b/libc.map.txt index 630c36b0b5de2b2b4937a71b95264fcc8cee7d60..ddbe5ddd7eb33aff211fa72030398bb0440fe676 100644 --- a/libc.map.txt +++ b/libc.map.txt @@ -133,6 +133,7 @@ __libc_mmap; __libc_munmap; __libc_start_main; + __lldb_mmap; __localtime64; __localtime64_r; __lstat_time64; diff --git a/src/mman/mmap.c b/src/mman/mmap.c index 842bbb0b4793e46fc5add53e2053bd1472a50143..8a38fa8e63fd76179730ec83e1baaa81f6f5aec5 100644 --- a/src/mman/mmap.c +++ b/src/mman/mmap.c @@ -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); }