summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/dfsan/CMakeLists.txt10
-rw-r--r--compiler-rt/lib/dfsan/dfsan.cpp (renamed from compiler-rt/lib/dfsan/dfsan.cc)2
-rw-r--r--compiler-rt/lib/dfsan/dfsan_custom.cpp (renamed from compiler-rt/lib/dfsan/dfsan_custom.cc)2
-rw-r--r--compiler-rt/lib/dfsan/dfsan_interceptors.cpp (renamed from compiler-rt/lib/dfsan/dfsan_interceptors.cc)2
-rwxr-xr-xcompiler-rt/lib/dfsan/scripts/check_custom_wrappers.sh2
-rw-r--r--compiler-rt/lib/stats/CMakeLists.txt4
-rw-r--r--compiler-rt/lib/stats/stats.cpp (renamed from compiler-rt/lib/stats/stats.cc)2
-rw-r--r--compiler-rt/lib/stats/stats_client.cpp (renamed from compiler-rt/lib/stats/stats_client.cc)2
-rw-r--r--compiler-rt/lib/ubsan_minimal/CMakeLists.txt2
-rw-r--r--compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp (renamed from compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cc)0
10 files changed, 15 insertions, 13 deletions
diff --git a/compiler-rt/lib/dfsan/CMakeLists.txt b/compiler-rt/lib/dfsan/CMakeLists.txt
index b3ae713cf02..051215edbeb 100644
--- a/compiler-rt/lib/dfsan/CMakeLists.txt
+++ b/compiler-rt/lib/dfsan/CMakeLists.txt
@@ -2,14 +2,16 @@ include_directories(..)
# Runtime library sources and build flags.
set(DFSAN_RTL_SOURCES
- dfsan.cc
- dfsan_custom.cc
- dfsan_interceptors.cc)
+ dfsan.cpp
+ dfsan_custom.cpp
+ dfsan_interceptors.cpp
+ )
set(DFSAN_RTL_HEADERS
dfsan.h
dfsan_flags.inc
- dfsan_platform.h)
+ dfsan_platform.h
+ )
set(DFSAN_COMMON_CFLAGS ${SANITIZER_COMMON_CFLAGS})
append_rtti_flag(OFF DFSAN_COMMON_CFLAGS)
diff --git a/compiler-rt/lib/dfsan/dfsan.cc b/compiler-rt/lib/dfsan/dfsan.cpp
index f4ba1148f78..0e2fb9f5f33 100644
--- a/compiler-rt/lib/dfsan/dfsan.cc
+++ b/compiler-rt/lib/dfsan/dfsan.cpp
@@ -1,4 +1,4 @@
-//===-- dfsan.cc ----------------------------------------------------------===//
+//===-- dfsan.cpp ---------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/compiler-rt/lib/dfsan/dfsan_custom.cc b/compiler-rt/lib/dfsan/dfsan_custom.cpp
index dc7b81da456..78d12d7d652 100644
--- a/compiler-rt/lib/dfsan/dfsan_custom.cc
+++ b/compiler-rt/lib/dfsan/dfsan_custom.cpp
@@ -1,4 +1,4 @@
-//===-- dfsan.cc ----------------------------------------------------------===//
+//===-- dfsan.cpp ---------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/compiler-rt/lib/dfsan/dfsan_interceptors.cc b/compiler-rt/lib/dfsan/dfsan_interceptors.cpp
index f4b4babc65c..673171c46f5 100644
--- a/compiler-rt/lib/dfsan/dfsan_interceptors.cc
+++ b/compiler-rt/lib/dfsan/dfsan_interceptors.cpp
@@ -1,4 +1,4 @@
-//===-- dfsan_interceptors.cc ---------------------------------------------===//
+//===-- dfsan_interceptors.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/compiler-rt/lib/dfsan/scripts/check_custom_wrappers.sh b/compiler-rt/lib/dfsan/scripts/check_custom_wrappers.sh
index 9a80cb9c6ff..2ada8a77e70 100755
--- a/compiler-rt/lib/dfsan/scripts/check_custom_wrappers.sh
+++ b/compiler-rt/lib/dfsan/scripts/check_custom_wrappers.sh
@@ -2,7 +2,7 @@
DFSAN_DIR=$(dirname "$0")/../
DFSAN_CUSTOM_TESTS=${DFSAN_DIR}/../../test/dfsan/custom.cc
-DFSAN_CUSTOM_WRAPPERS=${DFSAN_DIR}/dfsan_custom.cc
+DFSAN_CUSTOM_WRAPPERS=${DFSAN_DIR}/dfsan_custom.pp
DFSAN_ABI_LIST=${DFSAN_DIR}/done_abilist.txt
DIFFOUT=$(mktemp -q /tmp/tmp.XXXXXXXXXX)
diff --git a/compiler-rt/lib/stats/CMakeLists.txt b/compiler-rt/lib/stats/CMakeLists.txt
index 23c80843195..af58e2533b8 100644
--- a/compiler-rt/lib/stats/CMakeLists.txt
+++ b/compiler-rt/lib/stats/CMakeLists.txt
@@ -24,7 +24,7 @@ add_compiler_rt_runtime(clang_rt.stats
${STATS_LIB_FLAVOR}
ARCHS ${SANITIZER_COMMON_SUPPORTED_ARCH}
OS ${SANITIZER_COMMON_SUPPORTED_OS}
- SOURCES stats.cc
+ SOURCES stats.cpp
ADDITIONAL_HEADERS ${STATS_HEADERS}
OBJECT_LIBS RTSanitizerCommon
RTSanitizerCommonLibc
@@ -38,7 +38,7 @@ add_compiler_rt_runtime(clang_rt.stats_client
STATIC
ARCHS ${SANITIZER_COMMON_SUPPORTED_ARCH}
OS ${SANITIZER_COMMON_SUPPORTED_OS}
- SOURCES stats_client.cc
+ SOURCES stats_client.cpp
ADDITIONAL_HEADERS ${STATS_HEADERS}
CFLAGS ${SANITIZER_COMMON_CFLAGS}
LINK_FLAGS ${WEAK_SYMBOL_LINK_FLAGS}
diff --git a/compiler-rt/lib/stats/stats.cc b/compiler-rt/lib/stats/stats.cpp
index 8d4a115d1ae..da254fdb5a5 100644
--- a/compiler-rt/lib/stats/stats.cc
+++ b/compiler-rt/lib/stats/stats.cpp
@@ -1,4 +1,4 @@
-//===-- stats.cc ----------------------------------------------------------===//
+//===-- stats.cpp ---------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/compiler-rt/lib/stats/stats_client.cc b/compiler-rt/lib/stats/stats_client.cpp
index 0790f57372f..52eab8eea07 100644
--- a/compiler-rt/lib/stats/stats_client.cc
+++ b/compiler-rt/lib/stats/stats_client.cpp
@@ -1,4 +1,4 @@
-//===-- stats_client.cc ---------------------------------------------------===//
+//===-- stats_client.cpp --------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/compiler-rt/lib/ubsan_minimal/CMakeLists.txt b/compiler-rt/lib/ubsan_minimal/CMakeLists.txt
index e0910e80f97..d7aa8dbcd8b 100644
--- a/compiler-rt/lib/ubsan_minimal/CMakeLists.txt
+++ b/compiler-rt/lib/ubsan_minimal/CMakeLists.txt
@@ -1,7 +1,7 @@
# Build for the minimal undefined behavior sanitizer runtime support library.
set(UBSAN_MINIMAL_SOURCES
- ubsan_minimal_handlers.cc
+ ubsan_minimal_handlers.cpp
)
include_directories(..)
diff --git a/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cc b/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
index ed62ddd0fa3..ed62ddd0fa3 100644
--- a/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cc
+++ b/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
OpenPOWER on IntegriCloud