summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/IRObjectFile.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 /llvm/lib/Object/IRObjectFile.cpp
parent8c1a9ac52b560b1dd63269665965b2baffef0e9b (diff)
downloadbcm5719-llvm-507013180edc1aaeb78cc88f238aca56ea7957b1.tar.gz
bcm5719-llvm-507013180edc1aaeb78cc88f238aca56ea7957b1.zip
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 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud