Import block pointers from DWARF as Clang block pointers, not as structs.
authorSean Callanan <scallanan@apple.com>
Mon, 2 May 2016 21:15:31 +0000 (21:15 +0000)
committerSean Callanan <scallanan@apple.com>
Mon, 2 May 2016 21:15:31 +0000 (21:15 +0000)
commitc530ba98a9ee2ab97fcae2fd28a366050aa35919
tree5500fc7a180e5f1fc0c4e7879ef05258113a9965
parent52f869326331871498e1c13895444701731026cb
Import block pointers from DWARF as Clang block pointers, not as structs.

Also added a data formatter that presents them as structs if you use frame
variable to look at their contents.  Now the blocks testcase works.

<rdar://problem/15984431>

llvm-svn: 268307
16 files changed:
lldb/include/lldb/Symbol/ClangASTContext.h
lldb/include/lldb/Symbol/CompilerType.h
lldb/include/lldb/Symbol/GoASTContext.h
lldb/include/lldb/Symbol/JavaASTContext.h
lldb/include/lldb/Symbol/TypeSystem.h
lldb/lldb.xcodeproj/project.pbxproj
lldb/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py
lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp [new file with mode: 0644]
lldb/source/Plugins/Language/CPlusPlus/BlockPointer.h [new file with mode: 0644]
lldb/source/Plugins/Language/CPlusPlus/CMakeLists.txt
lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
lldb/source/Symbol/ClangASTContext.cpp
lldb/source/Symbol/CompilerType.cpp
lldb/source/Symbol/GoASTContext.cpp
lldb/source/Symbol/JavaASTContext.cpp