[all-commits] [llvm/llvm-project] 94b0d8: Fix reporting the lack of global variables in "tar...

jimingham via All-commits all-commits at lists.llvm.org
Mon Sep 21 17:30:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 94b0d836a105116220052313df5a58473f706cdf
      https://github.com/llvm/llvm-project/commit/94b0d836a105116220052313df5a58473f706cdf
  Author: Jim Ingham <jingham at apple.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M lldb/source/Commands/CommandObjectTarget.cpp
    A lldb/test/API/functionalities/target_var/no_vars/Makefile
    A lldb/test/API/functionalities/target_var/no_vars/TestTargetVarNoVars.py
    A lldb/test/API/functionalities/target_var/no_vars/main.c

  Log Message:
  -----------
  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>




More information about the All-commits mailing list