diff --git a/src/mman/mmap.c b/src/mman/mmap.c index c1d00d04e20a67f9e10d904fb4e3147595b5f051..842bbb0b4793e46fc5add53e2053bd1472a50143 100644 --- a/src/mman/mmap.c +++ b/src/mman/mmap.c @@ -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); +}