summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/dfsan
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/dfsan')
-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
5 files changed, 10 insertions, 8 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)
OpenPOWER on IntegriCloud