3535#include " lldb/Symbol/Function.h"
3636#include " lldb/Symbol/VariableList.h"
3737#include " lldb/Target/RegisterContext.h"
38+ #include " lldb/Utility/LLDBLog.h"
3839#include " lldb/Utility/Log.h"
3940#include " lldb/Utility/OptionParsing.h"
4041#include " lldb/Utility/Timer.h"
@@ -924,7 +925,7 @@ void SwiftLanguageRuntimeImpl::ModulesDidLoad(const ModuleList &module_list) {
924925
925926std::string
926927SwiftLanguageRuntimeImpl::GetObjectDescriptionExpr_Result (ValueObject &object) {
927- Log *log (GetLog (LLDBLog::DataFormatters));
928+ Log *log (GetLog (LLDBLog::DataFormatters | LLDBLog::Expressions ));
928929 std::string expr_string
929930 = llvm::formatv (" Swift._DebuggerSupport.stringForPrintObject({0})" ,
930931 object.GetName ().GetCString ()).str ();
@@ -936,7 +937,7 @@ SwiftLanguageRuntimeImpl::GetObjectDescriptionExpr_Result(ValueObject &object) {
936937
937938std::string
938939SwiftLanguageRuntimeImpl::GetObjectDescriptionExpr_Ref (ValueObject &object) {
939- Log *log (GetLog (LLDBLog::DataFormatters));
940+ Log *log (GetLog (LLDBLog::DataFormatters | LLDBLog::Expressions ));
940941
941942 StreamString expr_string;
942943 std::string expr_str
@@ -960,7 +961,7 @@ std::string
960961SwiftLanguageRuntimeImpl::GetObjectDescriptionExpr_Copy (ValueObject &object,
961962 lldb::addr_t ©_location)
962963{
963- Log *log (GetLog (LLDBLog::DataFormatters));
964+ Log *log (GetLog (LLDBLog::DataFormatters | LLDBLog::Expressions ));
964965
965966 ValueObjectSP static_sp (object.GetStaticValue ());
966967
@@ -1028,7 +1029,7 @@ SwiftLanguageRuntimeImpl::RunObjectDescriptionExpr(ValueObject &object,
10281029 std::string &expr_string,
10291030 Stream &result)
10301031{
1031- Log *log (GetLog (LLDBLog::DataFormatters));
1032+ Log *log (GetLog (LLDBLog::DataFormatters | LLDBLog::Expressions ));
10321033 ValueObjectSP result_sp;
10331034 EvaluateExpressionOptions eval_options;
10341035 eval_options.SetLanguage (lldb::eLanguageTypeSwift);
0 commit comments