Skip to content

Commit 501d208

Browse files
author
git apple-llvm automerger
committed
Merge commit '04b295e89387' from llvm.org/main into next
2 parents f1724d7 + 04b295e commit 501d208

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)