Author: enrico
Date: Thu May 12 18:04:43 2016
New Revision: 269378
URL: http://llvm.org/viewvc/llvm-project?rev=269378&view=rev
Log:
Add a check for version 15 of the shared cache format
<rdar://problem/26207478>
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=269378&r1=269377&r2=269378&view=diff
==============================================================================
---
lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
(original)
+++
lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Thu May 12 18:04:43 2016
@@ -241,7 +241,7 @@ __lldb_apple_objc_v2_get_shared_cache_cl
DEBUG_PRINTF ("objc_opt->headeropt_offset = %d\n",
objc_opt->headeropt_offset);
DEBUG_PRINTF ("objc_opt->clsopt_offset = %d\n",
objc_opt->clsopt_offset);
}
- if (objc_opt->version == 12 || objc_opt->version == 13 ||
objc_opt->version == 14)
+ if (objc_opt->version == 12 || objc_opt->version == 13 ||
objc_opt->version == 14 || objc_opt->version == 15)
{
const objc_clsopt_t* clsopt = NULL;
if (is_v14_format)
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits