summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-11-16 00:38:33 +0000
committerRui Ueyama <ruiu@google.com>2016-11-16 00:38:33 +0000
commit507013180edc1aaeb78cc88f238aca56ea7957b1 (patch)
treed243a9bc762f01beb9c45ac700421c703bfda55b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent8c1a9ac52b560b1dd63269665965b2baffef0e9b (diff)
Fix Modi and File count if there are more than 65535 modules/files.
These numbers are intended to be capped at 65535, but `std::max<uint16_t>(UINT16_MAX, N)` always returns N for any N because the expression is the same as `std::max((uint16_t)UINT16_MAX, (uint16_t)N)`. llvm-svn: 287060
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions