[Lldb-commits] [lldb] 3fe771b - [LLDB] Fix objc_clsopt_v16_t struct
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 4 08:55:36 PDT 2021
Author: Alfsonso Gregory
Date: 2021-10-04T08:55:09-07:00
New Revision: 3fe771bf02d0318bfa12befd0be235383744439f
URL: https://github.com/llvm/llvm-project/commit/3fe771bf02d0318bfa12befd0be235383744439f
DIFF: https://github.com/llvm/llvm-project/commit/3fe771bf02d0318bfa12befd0be235383744439f.diff
LOG: [LLDB] Fix objc_clsopt_v16_t struct
The objc_clsopt_v16_t struct does not match up with the macOS/iOS15
dyld_shared_cache ObjC runtime structures. A struct field was seemingly
omitted.
Differential revision: https://reviews.llvm.org/D110477
Added:
Modified:
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
index 8d71f5b830b31..57de1faa1ca20 100644
--- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
@@ -292,6 +292,7 @@ struct objc_clsopt_v16_t {
uint32_t occupied;
uint32_t shift;
uint32_t mask;
+ uint32_t zero;
uint64_t salt;
uint32_t scramble[256];
uint8_t tab[0]; // tab[mask+1]
More information about the lldb-commits
mailing list