[Lldb-commits] [lldb] r164048 - /lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Enrico Granata
egranata at apple.com
Mon Sep 17 12:26:37 PDT 2012
Author: enrico
Date: Mon Sep 17 14:26:37 2012
New Revision: 164048
URL: http://llvm.org/viewvc/llvm-project?rev=164048&view=rev
Log:
Stop validating the vtable_ptr since it's not actually guaranteed to be correct
Modified:
lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Modified: lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp?rev=164048&r1=164047&r2=164048&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp Mon Sep 17 14:26:37 2012
@@ -1365,17 +1365,6 @@
m_valid = false;
return;
}
- lldb::addr_t vtable_ptr = process_sp->ReadPointerFromMemory(m_isa + 3*ptr_size, error);
- if (error.Fail())
- {
- m_valid = false;
- return;
- }
- if (!IsPointerValid(vtable_ptr,ptr_size,true,false,true))
- {
- m_valid = false;
- return;
- }
// now construct the data object
More information about the lldb-commits
mailing list