llvm.org GIT mirror llvm / 0cd23e0
[benchmark] Fix 32-bit build failure This patch applies upstream commit: https://github.com/google/benchmark/commit/f0901417c89d123474e6b91365029cfe32cf89dc Tim Northover pointed out that benchmark build might be broken on 32-bit macOS. This commit by Roman Lebedev (lebedev.ri) resolves the issue. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D51677 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341469 91177308-0d34-0410-b5e6-96231b3b80d8 Kirill Bobyrev 11 months ago
2 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1212 is applied on top of the v1.4.1 to silence compiler warnings
1313 * https://github.com/google/benchmark/commit/505be96ab23056580a3a2315abba048f4428b04e
1414 is applied to comply with the LLVM's required CMake version
15 * https://github.com/google/benchmark/commit/f0901417c89d123474e6b91365029cfe32cf89dc
16 is applied to fix 32-bit build failure on macOS
287287 std::string name;
288288 std::string type;
289289 int level;
290 size_t num_sharing;
290 uint64_t num_sharing;
291291 } Cases[] = {{"hw.l1dcachesize", "Data", 1, CacheCounts[1]},
292292 {"hw.l1icachesize", "Instruction", 1, CacheCounts[1]},
293293 {"hw.l2cachesize", "Unified", 2, CacheCounts[2]},