aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-03-10 23:02:51 -0800
committerFangrui Song <i@maskray.me>2021-03-10 23:02:51 -0800
commitaeaf705d5eb5b1a6956bbd64949c872a5ecdee22 (patch)
tree75eab4b1e950c79eecc1bd478f7cea982d0761f7 /llvm/lib/FileCheck/FileCheck.cpp
parentc7712087cbb505d324e1149fa224f607c91a8c6a (diff)
downloadllvm-aeaf705d5eb5b1a6956bbd64949c872a5ecdee22.zip
llvm-aeaf705d5eb5b1a6956bbd64949c872a5ecdee22.tar.gz
llvm-aeaf705d5eb5b1a6956bbd64949c872a5ecdee22.tar.bz2
[sanitizer] Change NanoTime to use clock_gettime on non-glibc
This avoids the `__NR_gettimeofday` syscall number, which does not exist on 32-bit musl (it has `__NR_gettimeofday_time32`). This switched Android to `clock_gettime` as well, which should work according to the old code before D96925. Tested on Alpine Linux x86-64 (musl) and FreeBSD x86-64. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D98121
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions