diff options
| author | Todd Fiala <todd.fiala@gmail.com> | 2016-09-22 16:29:48 +0000 |
|---|---|---|
| committer | Todd Fiala <todd.fiala@gmail.com> | 2016-09-22 16:29:48 +0000 |
| commit | 7ffdb1556b3f008ffa902200cb81a3c98bf9e110 (patch) | |
| tree | 7c30589c17590366d4c124219cf51b624e8fcaaa /lldb/source/Plugins/StructuredData | |
| parent | 36bf6a46d8f012ed644e94fd94d7f1611e03fa0a (diff) | |
| download | llvm-7ffdb1556b3f008ffa902200cb81a3c98bf9e110.tar.gz llvm-7ffdb1556b3f008ffa902200cb81a3c98bf9e110.tar.bz2 llvm-7ffdb1556b3f008ffa902200cb81a3c98bf9e110.zip | |
fix DarwinLog no-info/no-debug case
This started failing recently:
TestDarwinLogSourceDebug.py
It looks like the behavior of specifying the OS_ACTIVITY_MODE
env var with no value used to work for no-info/no-debug content.
That doesn't appear to be the case now. Switch to specifying
the proper value ('default') when no info-level and no debug-level
content is expected.
llvm-svn: 282172
Diffstat (limited to 'lldb/source/Plugins/StructuredData')
| -rw-r--r-- | lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp index 4c5585be2c5c..0a6e324d7705 100644 --- a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp +++ b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp @@ -1566,7 +1566,7 @@ Error StructuredDataDarwinLog::FilterLaunchInfo(ProcessLaunchInfo &launch_info, else if (options_sp->GetIncludeInfoLevel()) env_var_value = "info"; else - env_var_value = ""; + env_var_value = "default"; if (env_var_value) { launch_info.GetEnvironmentEntries().AddOrReplaceEnvironmentVariable( |
