aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMikhail R. Gadelha <mikhail@igalia.com>2024-07-15 18:16:02 +0200
committerGitHub <noreply@github.com>2024-07-15 09:16:02 -0700
commit106621b601d7dc7c4929fba293f7e5ffe6b92c58 (patch)
tree40bf792ec65c648ac73305d450fc7612391fc24a /clang/lib/CodeGen/CodeGenModule.cpp
parentc2fab5a4c69c857061b06b9a826bf4730821e483 (diff)
downloadllvm-106621b601d7dc7c4929fba293f7e5ffe6b92c58.zip
llvm-106621b601d7dc7c4929fba293f7e5ffe6b92c58.tar.gz
llvm-106621b601d7dc7c4929fba293f7e5ffe6b92c58.tar.bz2
[libc][NFC] Fix printed test time in 32-bit systems (#98922)
clock() returns a clock_t, which is a long and might overflow in 32-bit systems when the test takes a long time to run. Changing it to uint64_t fixes this issue. Before: [ RUN ] LlvmLibcHashTest.Avalanche [ OK ] LlvmLibcHashTest.Avalanche (18446744073709551138 ms) After this patch: [ RUN ] LlvmLibcHashTest.Avalanche [ OK ] LlvmLibcHashTest.Avalanche (4154 ms)
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions