diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-03-13 19:46:30 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-03-13 19:46:30 +0000 |
commit | 7e34d78da1a004072153fc8fe73ce18ba4e493a8 (patch) | |
tree | f7ba5c7189253701e015faa23a57f5bf6393324a /lldb/source/Expression/FunctionCaller.cpp | |
parent | 74a04e80c86cfe4b7e138b01fb0a0efd9b1ea5a2 (diff) | |
download | bcm5719-llvm-7e34d78da1a004072153fc8fe73ce18ba4e493a8.tar.gz bcm5719-llvm-7e34d78da1a004072153fc8fe73ce18ba4e493a8.zip |
Fix an invalid static cast in ClangExpressionParser.cpp
This was found by the green dragon sanitizer bot.
rdar://problem/48536644
Differential Revision: https://reviews.llvm.org/D59314
llvm-svn: 356090
Diffstat (limited to 'lldb/source/Expression/FunctionCaller.cpp')
-rw-r--r-- | lldb/source/Expression/FunctionCaller.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Expression/FunctionCaller.cpp b/lldb/source/Expression/FunctionCaller.cpp index ed243d76bf7..52c86ff06a4 100644 --- a/lldb/source/Expression/FunctionCaller.cpp +++ b/lldb/source/Expression/FunctionCaller.cpp @@ -37,7 +37,8 @@ FunctionCaller::FunctionCaller(ExecutionContextScope &exe_scope, const Address &functionAddress, const ValueList &arg_value_list, const char *name) - : Expression(exe_scope), m_execution_unit_sp(), m_parser(), + : Expression(exe_scope, eKindFunctionCaller), + m_execution_unit_sp(), m_parser(), m_jit_module_wp(), m_name(name ? name : "<unknown>"), m_function_ptr(NULL), m_function_addr(functionAddress), m_function_return_type(return_type), |