[flang] Use object before converts in fir.dispatch (#68589)
[llvm-project.git] / libc / src / sys / mman / linux / CMakeLists.txt
blob163e7dead8887abe1c34151897f4636aae502c32
1 add_entrypoint_object(
2   madvise
3   SRCS
4     madvise.cpp
5   HDRS
6     ../madvise.h
7   DEPENDS
8     libc.include.sys_mman
9     libc.include.sys_syscall
10     libc.src.__support.OSUtil.osutil
11     libc.src.errno.errno
14 add_entrypoint_object(
15   mmap
16   SRCS
17     mmap.cpp
18   HDRS
19     ../mmap.h
20   DEPENDS
21     libc.include.sys_mman
22     libc.include.sys_syscall
23     libc.src.__support.OSUtil.osutil
24     libc.src.errno.errno
27 add_entrypoint_object(
28   munmap
29   SRCS
30     munmap.cpp
31   HDRS
32     ../munmap.h
33   DEPENDS
34     libc.include.sys_mman
35     libc.include.sys_syscall
36     libc.src.__support.OSUtil.osutil
37     libc.src.errno.errno
40 add_entrypoint_object(
41   mprotect
42   SRCS
43     mprotect.cpp
44   HDRS
45     ../mprotect.h
46   DEPENDS
47     libc.include.sys_mman
48     libc.include.sys_syscall
49     libc.src.__support.OSUtil.osutil
50     libc.src.errno.errno
53 add_entrypoint_object(
54   posix_madvise
55   SRCS
56     posix_madvise.cpp
57   HDRS
58     ../posix_madvise.h
59   DEPENDS
60     libc.include.sys_mman
61     libc.include.sys_syscall
62     libc.src.__support.OSUtil.osutil