Issue 155892
Summary LLDB 21.1.0 regression with `call`
Labels new issue
Assignees
Reporter patryk4815
    
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`

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to