summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBTarget.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2019-03-18 20:02:27 +0000
committerDavide Italiano <davide@freebsd.org>2019-03-18 20:02:27 +0000
commit65dc65216e9b2e0df27e536b6366ed0112d711d2 (patch)
treeda068b1cd61ddf3825e0f42d81d41ef1d20810a4 /lldb/source/API/SBTarget.cpp
parent9af9f500d1977688a08cf6bfe65d30c1c9a32145 (diff)
downloadbcm5719-llvm-65dc65216e9b2e0df27e536b6366ed0112d711d2.tar.gz
bcm5719-llvm-65dc65216e9b2e0df27e536b6366ed0112d711d2.zip
[API] Remove unneded LLDB_DISABLE_PYTHON markers.
llvm-svn: 356401
Diffstat (limited to 'lldb/source/API/SBTarget.cpp')
-rw-r--r--lldb/source/API/SBTarget.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp
index c168ae0d2cc..0cf42d2e639 100644
--- a/lldb/source/API/SBTarget.cpp
+++ b/lldb/source/API/SBTarget.cpp
@@ -2352,9 +2352,7 @@ lldb::SBValue SBTarget::EvaluateExpression(const char *expr,
(const char *, const lldb::SBExpressionOptions &), expr,
options);
-#if !defined(LLDB_DISABLE_PYTHON)
Log *expr_log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_EXPRESSIONS));
-#endif
SBValue expr_result;
ValueObjectSP expr_value_sp;
TargetSP target_sp(GetSP());
@@ -2387,13 +2385,10 @@ lldb::SBValue SBTarget::EvaluateExpression(const char *expr,
expr_result.SetSP(expr_value_sp, options.GetFetchDynamicValue());
}
}
-#ifndef LLDB_DISABLE_PYTHON
if (expr_log)
expr_log->Printf("** [SBTarget::EvaluateExpression] Expression result is "
"%s, summary %s **",
expr_result.GetValue(), expr_result.GetSummary());
-#endif
-
return LLDB_RECORD_RESULT(expr_result);
}
OpenPOWER on IntegriCloud