Files
clang-p2996/lldb/test/API/functionalities/target_var/no_vars/main.c
Jim Ingham 94b0d836a1 Fix reporting the lack of global variables in "target var".
There was a little thinko which meant when stopped in a frame with
debug information but whose CU didn't have any global variables we
report:

no debug info for frame <N>

This patch fixes that error message to say the intended:

no global variables in current compile unit

<rdar://problem/69086361>
2020-09-21 17:29:40 -07:00

6 lines
51 B
C

int
main(int argc, char **argv)
{
return argc;
}