diff options
author | Rui Ueyama <ruiu@google.com> | 2016-11-16 00:38:33 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-11-16 00:38:33 +0000 |
commit | 507013180edc1aaeb78cc88f238aca56ea7957b1 (patch) | |
tree | d243a9bc762f01beb9c45ac700421c703bfda55b /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 8c1a9ac52b560b1dd63269665965b2baffef0e9b (diff) | |
download | bcm5719-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/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions