diff options
Diffstat (limited to 'lldb/source/Expression/IRForTarget.cpp')
-rw-r--r-- | lldb/source/Expression/IRForTarget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp index 258953ac597..2c0d8ba80fa 100644 --- a/lldb/source/Expression/IRForTarget.cpp +++ b/lldb/source/Expression/IRForTarget.cpp @@ -675,8 +675,9 @@ IRForTarget::CreateResultVariable (llvm::Function &llvm_function) log->Printf("Result type has size 0"); if (m_error_stream) - m_error_stream->Printf("Internal error [IRForTarget]: Result type '%s' has invalid size\n", + m_error_stream->Printf("Error [IRForTarget]: Size of result type '%s' couldn't be determined\n", type_desc_stream.GetData()); + return false; } if (log) |