Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / startup / linux / aarch64 / CMakeLists.txt
blobb47db8eb5d23f310461fed47ec49a73eb24eda67
1 add_startup_object(
2   crt1
3   SRC
4     start.cpp
5   DEPENDS
6     libc.config.linux.app_h
7     libc.include.sys_mman
8     libc.include.sys_syscall
9     libc.src.__support.threads.thread
10     libc.src.__support.OSUtil.osutil
11     libc.src.stdlib.exit
12     libc.src.stdlib.atexit
13     libc.src.string.memory_utils.inline_memcpy
14     libc.src.unistd.environ
15   COMPILE_OPTIONS
16     -fno-omit-frame-pointer
17     -ffreestanding # To avoid compiler warnings about calling the main function.