Displaying 1 result from an estimated 1 matches for "670bc38e5a5ea2e0a3d6bafe8ea9c693".
2020 Feb 06
2
Why is lldb telling me "variable not available"?
...variables in the current stack frame, when that frame corresponds to a
coroutine function.
To illustrate my problem, I uploaded C++ source, LLVM IR, a DWARF
dump, and a shellscript demonstrating the invocations I used to create
each of these, as a gist on GitHub:
https://gist.github.com/modocache/670bc38e5a5ea2e0a3d6bafe8ea9c693
I'm looking at lldb's behavior on lines 23-40 of the C++ program,
https://gist.github.com/modocache/670bc38e5a5ea2e0a3d6bafe8ea9c693#file-test-cpp-L23-L40,
which I’ll paste below:
```
coro foo() {
int i = 0;
++i;
printf("%d\n", i); // 1
// Breakpoint 1:
// (lldb) fra...