summaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-10-15 16:36:21 +0000
committerDiego Novillo <dnovillo@google.com>2015-10-15 16:36:21 +0000
commit38be33302c443f7bca45cad26855fea535516436 (patch)
tree24ec2e74826a3fe8505cf7b58460646b08540d29 /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
parent4f3589c779e342557fd28c8133b68f4d075b5d39 (diff)
Sample Profiles - Adjust integer types. Mostly NFC.
This adjusts all integers in the reader/writer to reflect the types stored on profile files. They should all be unsigned 32-bit or 64-bit values. Changed all associated internal types to be uint32_t or uint64_t. The only place that needed some adjustments is in the sample profile transformation. Altough the weight read from the profile are 64-bit values, the internal API for branch weights only accepts 32-bit values. The pass now saturates weights that overflow uint32_t. llvm-svn: 250427
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions