* `EmulateInstruction::ReadMemory()` returns a boolean value and is used in boolean contexts, but the return type is specified as `size_t`. Change it to `bool`. This also aligns it with `WriteMemory()`. * `ClangExpressionDeclMap::GetSymbolAddress()` returns `false` if `Target` is not available, but it is expected to return an address. Change it to return `LLDB_INVALID_ADDRESS`. * `ValueObject::GetPointeeData()` returns `true`, whereas a return value of type `size_t` is expected. Change it to return 0 (this code is unreachable).
22 KiB
22 KiB