summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/UtilityFunction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Expression/UtilityFunction.cpp')
-rw-r--r--lldb/source/Expression/UtilityFunction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/UtilityFunction.cpp b/lldb/source/Expression/UtilityFunction.cpp
index 78059615578..926d5804726 100644
--- a/lldb/source/Expression/UtilityFunction.cpp
+++ b/lldb/source/Expression/UtilityFunction.cpp
@@ -70,7 +70,7 @@ UtilityFunction::~UtilityFunction ()
// FIXME: We should check that every time this is called it is called with the same return type & arguments...
FunctionCaller *
-UtilityFunction::MakeFunctionCaller (const CompilerType &return_type, const ValueList &arg_value_list, Error &error)
+UtilityFunction::MakeFunctionCaller (const CompilerType &return_type, const ValueList &arg_value_list, lldb::ThreadSP thread_to_use_sp, Error &error)
{
if (m_caller_up)
return m_caller_up.get();
@@ -99,7 +99,7 @@ UtilityFunction::MakeFunctionCaller (const CompilerType &return_type, const Valu
{
DiagnosticManager diagnostics;
- unsigned num_errors = m_caller_up->CompileFunction(diagnostics);
+ unsigned num_errors = m_caller_up->CompileFunction(thread_to_use_sp, diagnostics);
if (num_errors)
{
error.SetErrorStringWithFormat("Error compiling %s caller function: \"%s\".", m_function_name.c_str(),
OpenPOWER on IntegriCloud