diff options
author | Greg Clayton <gclayton@apple.com> | 2012-12-06 02:33:54 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-12-06 02:33:54 +0000 |
commit | 4ef877f5e9f99973d2e5c2cdc17a7652288ad944 (patch) | |
tree | d17f6a955644ee19b331f59d0608ca6ef82725cc /lldb/source/Core/Debugger.cpp | |
parent | 16846051db89f4ae27dcd7019bdef3141d0f9c60 (diff) | |
download | bcm5719-llvm-4ef877f5e9f99973d2e5c2cdc17a7652288ad944.tar.gz bcm5719-llvm-4ef877f5e9f99973d2e5c2cdc17a7652288ad944.zip |
<rdar://problem/12560257>
Fixed zero sized arrays to work correctly. This will only happen once we get a clang that emits correct debug info for zero sized arrays. For now I have marked the TestStructTypes.py as an expected failure.
llvm-svn: 169465
Diffstat (limited to 'lldb/source/Core/Debugger.cpp')
-rw-r--r-- | lldb/source/Core/Debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp index e9f05ea4ec7..a46bcbf72fb 100644 --- a/lldb/source/Core/Debugger.cpp +++ b/lldb/source/Core/Debugger.cpp @@ -1551,7 +1551,7 @@ Debugger::FormatPrompt } // TODO use flags for these - bool is_array = ClangASTContext::IsArrayType(target->GetClangType()); + bool is_array = ClangASTContext::IsArrayType(target->GetClangType(), NULL, NULL, NULL); bool is_pointer = ClangASTContext::IsPointerType(target->GetClangType()); bool is_aggregate = ClangASTContext::IsAggregateType(target->GetClangType()); |