diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-01-16 18:12:45 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-01-16 18:12:45 +0000 |
commit | 07d8b321b3da50e75fbad1b23253dd3646fd6033 (patch) | |
tree | 0ae0815d8eb110392f20ea97d8644e23d537df75 /compiler-rt/lib | |
parent | d40ab8db30bc8f86e840a66f1ed0219503c86863 (diff) | |
download | bcm5719-llvm-07d8b321b3da50e75fbad1b23253dd3646fd6033.tar.gz bcm5719-llvm-07d8b321b3da50e75fbad1b23253dd3646fd6033.zip |
Make compiler-rt CMakeLists.txt formatting a bit more like LLVM's usual formatting
llvm-svn: 351363
Diffstat (limited to 'compiler-rt/lib')
-rw-r--r-- | compiler-rt/lib/interception/CMakeLists.txt | 6 | ||||
-rw-r--r-- | compiler-rt/lib/sanitizer_common/CMakeLists.txt | 15 | ||||
-rw-r--r-- | compiler-rt/lib/ubsan/CMakeLists.txt | 11 |
3 files changed, 21 insertions, 11 deletions
diff --git a/compiler-rt/lib/interception/CMakeLists.txt b/compiler-rt/lib/interception/CMakeLists.txt index c0ac974d726..7f0de81892f 100644 --- a/compiler-rt/lib/interception/CMakeLists.txt +++ b/compiler-rt/lib/interception/CMakeLists.txt @@ -4,13 +4,15 @@ set(INTERCEPTION_SOURCES interception_linux.cc interception_mac.cc interception_win.cc - interception_type_test.cc) + interception_type_test.cc + ) set(INTERCEPTION_HEADERS interception.h interception_linux.h interception_mac.h - interception_win.h) + interception_win.h + ) include_directories(..) diff --git a/compiler-rt/lib/sanitizer_common/CMakeLists.txt b/compiler-rt/lib/sanitizer_common/CMakeLists.txt index f7bf4b00972..470ef20176d 100644 --- a/compiler-rt/lib/sanitizer_common/CMakeLists.txt +++ b/compiler-rt/lib/sanitizer_common/CMakeLists.txt @@ -39,7 +39,8 @@ set(SANITIZER_SOURCES_NOTERMINATION sanitizer_tls_get_addr.cc sanitizer_thread_registry.cc sanitizer_type_traits.cc - sanitizer_win.cc) + sanitizer_win.cc + ) if(UNIX AND NOT APPLE AND NOT OS_NAME MATCHES "SunOS") list(APPEND SANITIZER_SOURCES_NOTERMINATION @@ -63,13 +64,15 @@ set(SANITIZER_LIBCDEP_SOURCES sanitizer_linux_libcdep.cc sanitizer_mac_libcdep.cc sanitizer_posix_libcdep.cc - sanitizer_stoptheworld_linux_libcdep.cc) + sanitizer_stoptheworld_linux_libcdep.cc + ) set(SANITIZER_COVERAGE_SOURCES sancov_flags.cc sanitizer_coverage_fuchsia.cc sanitizer_coverage_libcdep_new.cc - sanitizer_coverage_win_sections.cc) + sanitizer_coverage_win_sections.cc + ) set(SANITIZER_SYMBOLIZER_SOURCES sanitizer_allocator_report.cc @@ -87,7 +90,8 @@ set(SANITIZER_SYMBOLIZER_SOURCES sanitizer_symbolizer_report.cc sanitizer_symbolizer_win.cc sanitizer_unwind_linux_libcdep.cc - sanitizer_unwind_win.cc) + sanitizer_unwind_win.cc + ) # Explicitly list all sanitizer_common headers. Not all of these are # included in sanitizer_common source files, but we need to depend on @@ -188,7 +192,8 @@ set(SANITIZER_IMPL_HEADERS sanitizer_win.h sanitizer_win_defs.h sanitizer_win_dll_thunk.h - sanitizer_win_weak_interception.h) + sanitizer_win_weak_interception.h + ) include_directories(..) diff --git a/compiler-rt/lib/ubsan/CMakeLists.txt b/compiler-rt/lib/ubsan/CMakeLists.txt index ab118ae4a52..0f429a4a973 100644 --- a/compiler-rt/lib/ubsan/CMakeLists.txt +++ b/compiler-rt/lib/ubsan/CMakeLists.txt @@ -6,18 +6,21 @@ set(UBSAN_SOURCES ubsan_flags.cc ubsan_handlers.cc ubsan_monitor.cc - ubsan_value.cc) + ubsan_value.cc + ) set(UBSAN_STANDALONE_SOURCES ubsan_diag_standalone.cc ubsan_init_standalone.cc - ubsan_signals_standalone.cc) + ubsan_signals_standalone.cc + ) set(UBSAN_CXXABI_SOURCES ubsan_handlers_cxx.cc ubsan_type_hash.cc ubsan_type_hash_itanium.cc - ubsan_type_hash_win.cc) + ubsan_type_hash_win.cc + ) set(UBSAN_HEADERS ubsan_checks.inc @@ -33,7 +36,7 @@ set(UBSAN_HEADERS ubsan_signals_standalone.h ubsan_type_hash.h ubsan_value.h -) + ) include_directories(..) |