summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBFrame.cpp
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2018-12-20 23:38:19 +0000
committerKuba Mracek <mracek@apple.com>2018-12-20 23:38:19 +0000
commit4c7f5d5c5aeeb4336da0f044ab543d76971068f4 (patch)
treecaf803dbf910975503ec12e32736a4bade0f68e3 /lldb/source/API/SBFrame.cpp
parent3790029d9714b4b42ebb289fb1ee8670e6a1b99d (diff)
downloadbcm5719-llvm-4c7f5d5c5aeeb4336da0f044ab543d76971068f4.tar.gz
bcm5719-llvm-4c7f5d5c5aeeb4336da0f044ab543d76971068f4.zip
[lldb] Add a "display-recognized-arguments" target setting to show recognized arguments by default
Differential Revision: https://reviews.llvm.org/D55954 llvm-svn: 349856
Diffstat (limited to 'lldb/source/API/SBFrame.cpp')
-rw-r--r--lldb/source/API/SBFrame.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/API/SBFrame.cpp b/lldb/source/API/SBFrame.cpp
index 4fc467893e0..44dcfd806be 100644
--- a/lldb/source/API/SBFrame.cpp
+++ b/lldb/source/API/SBFrame.cpp
@@ -957,7 +957,8 @@ SBValueList SBFrame::GetVariables(const lldb::SBVariablesOptions &options) {
const bool statics = options.GetIncludeStatics();
const bool arguments = options.GetIncludeArguments();
- const bool recognized_arguments = options.GetIncludeRecognizedArguments();
+ const bool recognized_arguments =
+ options.GetIncludeRecognizedArguments(SBTarget(exe_ctx.GetTargetSP()));
const bool locals = options.GetIncludeLocals();
const bool in_scope_only = options.GetInScopeOnly();
const bool include_runtime_support_values =
OpenPOWER on IntegriCloud