llvm-project/lldb/source/Interpreter
Jonas Devlieghere 6879391908
[lldb] Replace Host::SystemLog with Debugger::Report{Error,Warning}
As it exists today, Host::SystemLog is used exclusively for error
reporting. With the introduction of diagnostic events, we have a better
way of reporting those. Instead of printing directly to stderr, these
messages now get printed to the debugger's error stream (when using the
default event handler). Alternatively, if someone is listening for these
events, they can decide how to display them, for example in the context
of an IDE such as Xcode.

This change also means we no longer write these messages to the system
log on Darwin. As far as I know, nobody is relying on this, but I think
this is something we could add to the diagnostic event mechanism.

Differential revision: https://reviews.llvm.org/D128480
2022-06-24 09:46:26 -07:00
..
CMakeLists.txt [lldb] Change implementation of memory read --show-tags option 2022-05-18 16:49:09 +01:00
CommandAlias.cpp [lldb] Remove redundant calls to set eReturnStatusFailed 2021-06-17 12:21:54 +01:00
CommandHistory.cpp [lldb][NFC] Use C++ versions of the deprecated C standard library headers 2021-05-26 12:46:12 +02:00
CommandInterpreter.cpp Don't use Optional::hasValue (NFC) 2022-06-20 20:17:57 -07:00
CommandObject.cpp [lldb][NFC] Make cmd a reference in GenerateOptionUsage 2022-05-16 10:46:56 +00:00
CommandOptionValidators.cpp
CommandReturnObject.cpp [lldb] Show the DBGError if dsymForUUID can't find a dSYM 2022-04-14 16:54:00 -07:00
InterpreterProperties.td Add a setting to not require --overwrite to overwrite commands. 2022-03-31 14:15:14 -07:00
OptionArgParser.cpp [lldb] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
OptionGroupArchitecture.cpp
OptionGroupBoolean.cpp
OptionGroupFile.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
OptionGroupFormat.cpp [Bug 49018][lldb] Fix incorrect help text for 'memory write' command 2021-11-26 19:14:26 +05:30
OptionGroupMemoryTag.cpp [lldb] Add --show-tags option to "memory find" 2022-05-19 14:40:01 +01:00
OptionGroupOutputFile.cpp
OptionGroupPlatform.cpp [lldb] Remove the global platform list 2022-04-13 14:41:13 +02:00
OptionGroupPythonClassWithDict.cpp [lldb/Interpreter] Make OptionGroupPythonClassWithDict options non-required 2021-03-04 20:24:26 +01:00
OptionGroupString.cpp
OptionGroupUInt64.cpp
OptionGroupUUID.cpp
OptionGroupValueObjectDisplay.cpp [lldb] Add setting for max depth of value object printing (NFC) 2022-05-03 10:39:42 -07:00
OptionGroupVariable.cpp
OptionGroupWatchpoint.cpp
OptionValue.cpp [lldb][NFC] Remove all uses of StringRef::withNullAsEmpty in LLDB 2021-05-18 09:41:20 +02:00
OptionValueArch.cpp [lldb/Interpreter] Fix deep copying for OptionValue classes 2021-02-28 19:23:25 +03:00
OptionValueArgs.cpp [lldb][NFC] Make OptionValueArgs::GetArgs constant 2021-02-28 19:23:20 +03:00
OptionValueArray.cpp [lldb] Convert misc. StringConvert uses 2021-09-25 14:19:19 +02:00
OptionValueBoolean.cpp [lldb/Interpreter] Fix deep copying for OptionValue classes 2021-02-28 19:23:25 +03:00
OptionValueChar.cpp [lldb/Interpreter] Fix deep copying for OptionValue classes 2021-02-28 19:23:25 +03:00
OptionValueDictionary.cpp [lldb] Add setting to override PE/COFF ABI by module name 2022-06-22 17:16:06 +03:00
OptionValueEnumeration.cpp [lldb/Interpreter] Fix deep copying for OptionValue classes 2021-02-28 19:23:25 +03:00
OptionValueFileColonLine.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00
OptionValueFileSpec.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00
OptionValueFileSpecList.cpp [lldb] Convert misc. StringConvert uses 2021-09-25 14:19:19 +02:00
OptionValueFormat.cpp [lldb/Interpreter] Fix deep copying for OptionValue classes 2021-02-28 19:23:25 +03:00
OptionValueFormatEntity.cpp [lldb/Interpreter] Fix deep copying for OptionValue classes 2021-02-28 19:23:25 +03:00
OptionValueLanguage.cpp [lldb/Interpreter] Fix deep copying for OptionValue classes 2021-02-28 19:23:25 +03:00
OptionValuePathMappings.cpp [lldb][NFC] avoid unnecessary roundtrips between different string types 2021-11-01 22:15:01 -07:00
OptionValueProperties.cpp [lldb] Add setting for max depth of value object printing (NFC) 2022-05-03 10:39:42 -07:00
OptionValueRegex.cpp [lldb/Interpreter] Fix deep copying for OptionValue classes 2021-02-28 19:23:25 +03:00
OptionValueSInt64.cpp [lldb] Convert misc. StringConvert uses 2021-09-25 14:19:19 +02:00
OptionValueString.cpp [lldb/Interpreter] Fix deep copying for OptionValue classes 2021-02-28 19:23:25 +03:00
OptionValueUInt64.cpp [lldb] Convert misc. StringConvert uses 2021-09-25 14:19:19 +02:00
OptionValueUUID.cpp [lldb/Interpreter] Fix deep copying for OptionValue classes 2021-02-28 19:23:25 +03:00
Options.cpp [lldb] Replace Host::SystemLog with Debugger::Report{Error,Warning} 2022-06-24 09:46:26 -07:00
Property.cpp [lldb] Add setting to override PE/COFF ABI by module name 2022-06-22 17:16:06 +03:00
ScriptInterpreter.cpp Fix a copy-paste error in "br com add -s py -o 'some_python' BKPT_NAME" 2022-05-31 17:24:14 -07:00
embedded_interpreter.py Fix `script -lpython` to handle control flow in one-line commands. 2022-06-15 22:20:48 -07:00