We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4069c7f commit 0c5084bCopy full SHA for 0c5084b
lldb/source/ValueObject/ValueObjectChild.cpp
@@ -201,8 +201,9 @@ bool ValueObjectChild::UpdateValue() {
201
const bool thread_and_frame_only_if_stopped = true;
202
ExecutionContext exe_ctx(GetExecutionContextRef().Lock(
203
thread_and_frame_only_if_stopped));
204
- if (auto type_bit_size = GetCompilerType().GetBitSize(
205
- exe_ctx.GetBestExecutionContextScope())) {
+ if (auto type_bit_size =
+ llvm::expectedToOptional(GetCompilerType().GetBitSize(
206
+ exe_ctx.GetBestExecutionContextScope()))) {
207
uint64_t bitfield_end =
208
m_bitfield_bit_size + m_bitfield_bit_offset;
209
if (bitfield_end > *type_bit_size) {
0 commit comments