summaryrefslogtreecommitdiff
path: root/lib/dfsan
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-08-01 12:41:23 +0000
committerNico Weber <nicolasweber@gmx.de>2019-08-01 12:41:23 +0000
commit464604ae273485be220d4b606886e61ccc644093 (patch)
tree02c986fe7424ec5a9e6fd0f028ba7720ae8058e5 /lib/dfsan
parent65c1c8780a5ca562f8fd56096c681e73afa0d388 (diff)
downloadcompiler-rt-464604ae273485be220d4b606886e61ccc644093.tar.gz
compiler-rt: Rename .cc file in lib/{dfsan,stats,ubsan_minimal} to .cpp
Like r367463, but for dfsan, stats, ubsan_minimal. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@367551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/dfsan')
-rw-r--r--lib/dfsan/CMakeLists.txt10
-rw-r--r--lib/dfsan/dfsan.cpp (renamed from lib/dfsan/dfsan.cc)2
-rw-r--r--lib/dfsan/dfsan_custom.cpp (renamed from lib/dfsan/dfsan_custom.cc)2
-rw-r--r--lib/dfsan/dfsan_interceptors.cpp (renamed from lib/dfsan/dfsan_interceptors.cc)2
-rwxr-xr-xlib/dfsan/scripts/check_custom_wrappers.sh2
5 files changed, 10 insertions, 8 deletions
diff --git a/lib/dfsan/CMakeLists.txt b/lib/dfsan/CMakeLists.txt
index b3ae713cf..051215edb 100644
--- a/lib/dfsan/CMakeLists.txt
+++ b/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/lib/dfsan/dfsan.cc b/lib/dfsan/dfsan.cpp
index f4ba1148f..0e2fb9f5f 100644
--- a/lib/dfsan/dfsan.cc
+++ b/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/lib/dfsan/dfsan_custom.cc b/lib/dfsan/dfsan_custom.cpp
index dc7b81da4..78d12d7d6 100644
--- a/lib/dfsan/dfsan_custom.cc
+++ b/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/lib/dfsan/dfsan_interceptors.cc b/lib/dfsan/dfsan_interceptors.cpp
index f4b4babc6..673171c46 100644
--- a/lib/dfsan/dfsan_interceptors.cc
+++ b/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/lib/dfsan/scripts/check_custom_wrappers.sh b/lib/dfsan/scripts/check_custom_wrappers.sh
index 9a80cb9c6..2ada8a77e 100755
--- a/lib/dfsan/scripts/check_custom_wrappers.sh
+++ b/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)