Reapply "Make Scalar::GetValue more consistent"
authorPavel Labath <labath@google.com>
Fri, 2 Sep 2016 10:58:52 +0000 (10:58 +0000)
committerPavel Labath <labath@google.com>
Fri, 2 Sep 2016 10:58:52 +0000 (10:58 +0000)
commitf92756e9ec18720f0235f89d3eedbd0aff39db15
treed0a9db1eb734027d81845b4ea7612efef0c6516f
parent0f0ef132aff2ac6d4e095da3b1f3b83c106dd8c1
Reapply "Make Scalar::GetValue more consistent"

this is a resubmission of r280476. The problem with the original commit was that it was printing
out all numbers as signed, which was wrong for unsigned numbers with the MSB set. Fix that and
add a unit test covering that case.

llvm-svn: 280480
lldb/packages/Python/lldbsuite/test/functionalities/memory/find/TestMemoryFind.py
lldb/source/Core/Scalar.cpp
lldb/unittests/Core/ScalarTest.cpp