Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / src / time / linux / CMakeLists.txt
blobdf79bf5986261cff28b36bffc3e878df2a05a4c0
1 add_entrypoint_object(
2   time
3   SRCS
4     time.cpp
5   HDRS
6     ../time_func.h
7   DEPENDS
8     libc.include.time
9     libc.include.sys_syscall
10     libc.src.__support.OSUtil.osutil
11     libc.src.errno.errno
14 add_entrypoint_object(
15   clock
16   SRCS
17     clock.cpp
18   HDRS
19     ../clock.h
20   DEPENDS
21     libc.include.time
22     libc.include.sys_syscall
23     libc.src.__support.CPP.limits
24     libc.src.__support.OSUtil.osutil
25     libc.src.errno.errno
28 add_entrypoint_object(
29   nanosleep
30   SRCS
31     nanosleep.cpp
32   HDRS
33     ../nanosleep.h
34   DEPENDS
35     libc.include.time
36     libc.include.sys_syscall
37     libc.src.__support.CPP.limits
38     libc.src.__support.OSUtil.osutil
39     libc.src.errno.errno
42 add_entrypoint_object(
43   clock_gettime
44   SRCS
45     clock_gettime.cpp
46   HDRS
47     ../clock_gettime.h
48   DEPENDS
49     libc.include.time
50     libc.include.sys_syscall
51     libc.src.__support.OSUtil.osutil
52     libc.src.errno.errno
55 add_entrypoint_object(
56   gettimeofday
57   SRCS
58     gettimeofday.cpp
59   HDRS
60     ../gettimeofday.h
61   DEPENDS
62     libc.include.time
63     libc.include.sys_syscall
64     libc.src.__support.OSUtil.osutil
65     libc.src.errno.errno