Skip to content

Commit a277ee5

Browse files
author
git apple-llvm automerger
committed
Merge commit '414ed0ad535c' from swift/release/6.0 into stable/20230725
2 parents f4b733c + 414ed0a commit a277ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ bool ClassDescriptorV2::relative_list_entry_t::Read(Process *process,
394394
lldb::offset_t cursor = 0;
395395
uint64_t raw_entry = extractor.GetU64_unchecked(&cursor);
396396
m_image_index = raw_entry & 0xFFFF;
397-
m_list_offset = (int64_t)(raw_entry >> 16);
397+
m_list_offset = llvm::SignExtend64<48>(raw_entry >> 16);
398398
return true;
399399
}
400400

0 commit comments

Comments
 (0)