[lldb-dev] ; after if in AppleObjcRutnimev2.cpp
Greg Clayton
gclayton at apple.com
Wed Oct 31 13:57:16 PDT 2012
All fixed. Thanks again.
Gerg
On Oct 31, 2012, at 12:14 PM, Carlo Kok <ck at remobjects.com> wrote:
> Op 31-10-2012 20:06, Greg Clayton schreef:
>> No, not intended. Fixed with:
>>
>> % svn commit
>> Sending source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
>> Transmitting file data .
>> Committed revision 167160.
>>
>> Let us know if MSVC catches anything else!
>>
>
> It does:
> StopInfo.cpp:570
>
> result_code = ClangUserExpression::EvaluateWithError (exe_ctx,
> eExecutionPolicyOnlyWhenNeeded,
> lldb::eLanguageTypeUnknown,
> ClangUserExpression::eResultTypeAny,
> discard_on_error,
> wp_sp->GetConditionText(),
> NULL,
> result_value_sp,
> error,
> 500000);
> the .h has:
> lldb::ValueObjectSP &result_valobj_sp,
> Error &error,
> bool try_all_threads = true,
> uint32_t timeout_usec = 500000);
>
> there's a bool between error & 500000 (though not really serious)
>
> ASTResultSynthesizer.cpp:272
> if (!implicit_cast->getCastKind() == CK_LValueToRValue)
>
> that ! works on the GetCastKind() which probably wasn't what was meant
>
>
> DataExtractor.cpp:724
> if (sval64 & (1 << (bitfield_bit_size - 1)))
>
> the (1 << (bitfield_bit_size - 1)) is an int32 and then widenned. Probably should be :
> ((uint64_t)1) << (bitfield_bit_size - 1)
>
> That's it for lldb.
More information about the lldb-dev
mailing list