diff options
author | Sean Callanan <scallanan@apple.com> | 2016-05-02 21:15:31 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2016-05-02 21:15:31 +0000 |
commit | c530ba98a9ee2ab97fcae2fd28a366050aa35919 (patch) | |
tree | 5500fc7a180e5f1fc0c4e7879ef05258113a9965 /lldb/source/Symbol/JavaASTContext.cpp | |
parent | 52f869326331871498e1c13895444701731026cb (diff) | |
download | bcm5719-llvm-c530ba98a9ee2ab97fcae2fd28a366050aa35919.tar.gz bcm5719-llvm-c530ba98a9ee2ab97fcae2fd28a366050aa35919.zip |
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
Diffstat (limited to 'lldb/source/Symbol/JavaASTContext.cpp')
-rw-r--r-- | lldb/source/Symbol/JavaASTContext.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Symbol/JavaASTContext.cpp b/lldb/source/Symbol/JavaASTContext.cpp index 8f06eefde7f..1cc14723fc2 100644 --- a/lldb/source/Symbol/JavaASTContext.cpp +++ b/lldb/source/Symbol/JavaASTContext.cpp @@ -629,6 +629,12 @@ JavaASTContext::IsFunctionPointerType(lldb::opaque_compiler_type_t type) } bool +JavaASTContext::IsBlockPointerType (lldb::opaque_compiler_type_t type, CompilerType *function_pointer_type_ptr) +{ + return false; +} + +bool JavaASTContext::IsIntegerType(lldb::opaque_compiler_type_t type, bool &is_signed) { if (JavaPrimitiveType *ptype = llvm::dyn_cast<JavaPrimitiveType>(static_cast<JavaType *>(type))) |