summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtienne Bergeron <etienneb@google.com>2016-06-21 14:32:52 +0000
committerEtienne Bergeron <etienneb@google.com>2016-06-21 14:32:52 +0000
commit73429460866709e32cddbb76d3cb3d0d0f85ffa7 (patch)
tree9f38b90eb884511a5a2ebef3c37eb3c02e6ed7ac
parentb0477747dfa8a9706f2c902e877e616aca51e06f (diff)
trimming whitespaces
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@273263 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--cmake/base-config-ix.cmake10
-rw-r--r--lib/asan/CMakeLists.txt8
2 files changed, 9 insertions, 9 deletions
diff --git a/cmake/base-config-ix.cmake b/cmake/base-config-ix.cmake
index d252ef8d9..0829344df 100644
--- a/cmake/base-config-ix.cmake
+++ b/cmake/base-config-ix.cmake
@@ -107,9 +107,9 @@ macro(test_targets)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
append("${MSVC_VERSION_FLAG}" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
elseif (COMPILER_RT_TEST_COMPILER_ID MATCHES "Clang")
- # Add this flag to test compiles to suppress clang's auto-detection
- # logic.
- append("${MSVC_VERSION_FLAG}" COMPILER_RT_TEST_COMPILER_CFLAGS)
+ # Add this flag to test compiles to suppress clang's auto-detection
+ # logic.
+ append("${MSVC_VERSION_FLAG}" COMPILER_RT_TEST_COMPILER_CFLAGS)
endif()
endif()
endif()
@@ -130,9 +130,9 @@ macro(test_targets)
test_target_arch(i386 __i386__ "-m32")
else()
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
- test_target_arch(i386 "" "")
+ test_target_arch(i386 "" "")
else()
- test_target_arch(x86_64 "" "")
+ test_target_arch(x86_64 "" "")
endif()
endif()
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc")
diff --git a/lib/asan/CMakeLists.txt b/lib/asan/CMakeLists.txt
index 07d623242..2f16e299e 100644
--- a/lib/asan/CMakeLists.txt
+++ b/lib/asan/CMakeLists.txt
@@ -75,7 +75,7 @@ append_list_if(COMPILER_RT_HAS_LIBLOG log ASAN_DYNAMIC_LIBS)
# Compile ASan sources into an object library.
-add_compiler_rt_object_libraries(RTAsan_dynamic
+add_compiler_rt_object_libraries(RTAsan_dynamic
OS ${SANITIZER_COMMON_SUPPORTED_OS}
ARCHS ${ASAN_SUPPORTED_ARCH}
SOURCES ${ASAN_SOURCES} ${ASAN_CXX_SOURCES}
@@ -122,7 +122,7 @@ if(APPLE)
PARENT_TARGET asan)
else()
# Build separate libraries for each target.
-
+
set(ASAN_COMMON_RUNTIME_OBJECT_LIBS
RTInterception
RTSanitizerCommon
@@ -166,8 +166,8 @@ else()
-Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/clang_rt.asan-dynamic-${arch}.vers)
set_source_files_properties(
${CMAKE_CURRENT_BINARY_DIR}/dummy.cc
- PROPERTIES
- OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/clang_rt.asan-dynamic-${arch}.vers)
+ PROPERTIES
+ OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/clang_rt.asan-dynamic-${arch}.vers)
else()
set(VERSION_SCRIPT_FLAG)
endif()