From a242417a90973f2a98cbf5b64681754d47809d30 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Mon, 25 Oct 2010 00:29:48 +0000 Subject: Fixes to Objective-C built-in type handling. Specifically, we fixed handling of the objc_class built-in type, which allowed us to pass named Objective-C objects to functions, call variable list -t on objects safely, etc. llvm-svn: 117249 --- lldb/source/Core/ValueObjectChild.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/source/Core/ValueObjectChild.cpp') diff --git a/lldb/source/Core/ValueObjectChild.cpp b/lldb/source/Core/ValueObjectChild.cpp index 9a9aebc9d90..554646b8f86 100644 --- a/lldb/source/Core/ValueObjectChild.cpp +++ b/lldb/source/Core/ValueObjectChild.cpp @@ -45,6 +45,8 @@ ValueObjectChild::ValueObjectChild m_bitfield_bit_offset (bitfield_bit_offset), m_is_base_class (is_base_class) { + assert(byte_size != 0 && "TEMPORARY DEBUGGING ASSERT"); + m_name = name; } -- cgit v1.2.3