Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / src / __support / OSUtil / linux / CMakeLists.txt
blobc27f9be746489439dd3f0cfa0fc9e16d245c5632
1 if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_ARCHITECTURE})
2   return()
3 endif()
5 add_subdirectory(${LIBC_TARGET_ARCHITECTURE})
7 add_header_library(
8   linux_util
9   HDRS
10     io.h
11     quick_exit.h
12     syscall.h
13   DEPENDS
14     .${LIBC_TARGET_ARCHITECTURE}.linux_${LIBC_TARGET_ARCHITECTURE}_util
15     libc.src.__support.common
16     libc.src.__support.CPP.string_view