-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Open
Labels
Description
I'm running lldb on Apple M4, but maybe same issue on linux.
Repro:
cat << EOF > hello.c
#include <stdio.h>
int main() {
printf("hello");
return 0;
}
EOF
zig cc -g -O0 hello.c -o hello
lldb ./hello
lldb> b main
lldb> r
lldb> call (const void*)_dyld_get_shared_cache_range()
Regression example:
lldb> call (const void*)_dyld_get_shared_cache_range()
(const void *) $1 = 0x00000001818d0000
^ this command work fine in lldb 20.1.8
lldb> call (const void*)_dyld_get_shared_cache_range()
error: Couldn't apply expression side effects : Couldn't dematerialize a result variable: couldn't read its memory
^ same command crash on lldb 21.1.0