[Lldb-commits] [lldb] r117767 - /lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntimeV2/AppleObjCRuntimeV2.cpp
Sean Callanan
scallanan at apple.com
Fri Oct 29 18:46:19 PDT 2010
Author: spyffe
Date: Fri Oct 29 20:46:19 2010
New Revision: 117767
URL: http://llvm.org/viewvc/llvm-project?rev=117767&view=rev
Log:
Using proper Objective-C types doesn't seem to
make the sky fall.
Modified:
lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntimeV2/AppleObjCRuntimeV2.cpp
Modified: lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntimeV2/AppleObjCRuntimeV2.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntimeV2/AppleObjCRuntimeV2.cpp?rev=117767&r1=117766&r2=117767&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntimeV2/AppleObjCRuntimeV2.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntimeV2/AppleObjCRuntimeV2.cpp Fri Oct 29 20:46:19 2010
@@ -87,15 +87,6 @@
str.Printf ("Value doesn't point to an ObjC object.\n");
return false;
}
- // FIXME: If we use the real types here then we end up crashing in the expression parser.
- // For now, forcing this to be a generic pointer makes it work...
-#if 1
- ClangASTContext *ast_context = exe_ctx.target->GetScratchClangASTContext();
- if (value.GetContextType() == Value::eContextTypeOpaqueClangQualType)
- {
- value.SetContext(Value::eContextTypeOpaqueClangQualType, ast_context->GetVoidPtrType(false));
- }
-#endif
}
else
{
More information about the lldb-commits
mailing list