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 bd64f31 commit 2317a72Copy full SHA for 2317a72
lldb/source/ValueObject/ValueObjectChild.cpp
@@ -164,8 +164,9 @@ bool ValueObjectChild::UpdateValue() {
164
const bool thread_and_frame_only_if_stopped = true;
165
ExecutionContext exe_ctx(GetExecutionContextRef().Lock(
166
thread_and_frame_only_if_stopped));
167
- if (auto type_bit_size = GetCompilerType().GetBitSize(
168
- exe_ctx.GetBestExecutionContextScope())) {
+ if (auto type_bit_size =
+ llvm::expectedToOptional(GetCompilerType().GetBitSize(
169
+ exe_ctx.GetBestExecutionContextScope()))) {
170
uint64_t bitfield_end =
171
m_bitfield_bit_size + m_bitfield_bit_offset;
172
if (bitfield_end > *type_bit_size) {
0 commit comments