aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorStella Stamenova <stilis@microsoft.com>2022-09-12 11:31:17 -0700
committerStella Stamenova <stilis@microsoft.com>2022-09-12 11:31:17 -0700
commit327146639c049f3cff13c94ec44c12aa718b9fe4 (patch)
tree20e18b221d8b29b23fe590cb9bab90a7f82f58dc /lldb/source/Commands/CommandObjectFrame.cpp
parent6f5d109fca23056dd74d673d2e3439ece22c80b4 (diff)
downloadllvm-327146639c049f3cff13c94ec44c12aa718b9fe4.zip
llvm-327146639c049f3cff13c94ec44c12aa718b9fe4.tar.gz
llvm-327146639c049f3cff13c94ec44c12aa718b9fe4.tar.bz2
Revert "Add the ability to show when variables fails to be available when debug info is valid."
This reverts commit 9af089f5179d52c6561ec27532880edcfb6253af. This broke the windows lldb bot: https://lab.llvm.org/buildbot/#/builders/83/builds/23528
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectFrame.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp
index 64bd2c3..e5d14d6 100644
--- a/lldb/source/Commands/CommandObjectFrame.cpp
+++ b/lldb/source/Commands/CommandObjectFrame.cpp
@@ -483,14 +483,9 @@ protected:
// might clear the StackFrameList for the thread. So hold onto a shared
// pointer to the frame so it stays alive.
- Status error;
VariableList *variable_list =
- frame->GetVariableList(m_option_variable.show_globals, &error);
+ frame->GetVariableList(m_option_variable.show_globals);
- if (error.Fail() && (!variable_list || variable_list->GetSize() == 0)) {
- result.AppendError(error.AsCString());
-
- }
VariableSP var_sp;
ValueObjectSP valobj_sp;