diff options
author | Sean Callanan <scallanan@apple.com> | 2010-10-25 00:29:48 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-10-25 00:29:48 +0000 |
commit | a242417a90973f2a98cbf5b64681754d47809d30 (patch) | |
tree | 3615a91fb57d0f000c4d06093d219fc4085ea83f /lldb/source/Core/ValueObjectChild.cpp | |
parent | 64186e7faa4cd22f62c0492a6dd4d1e48cd41822 (diff) | |
download | bcm5719-llvm-a242417a90973f2a98cbf5b64681754d47809d30.tar.gz bcm5719-llvm-a242417a90973f2a98cbf5b64681754d47809d30.zip |
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
Diffstat (limited to 'lldb/source/Core/ValueObjectChild.cpp')
-rw-r--r-- | lldb/source/Core/ValueObjectChild.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |