summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt51
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/atomic_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/atomic_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/bytemap_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/bytemap_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/checksum_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/checksum_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/chunk_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/chunk_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/combined_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/combined_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/flags_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/flags_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/list_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/list_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/map_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/map_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/mutex_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/mutex_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/primary_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/primary_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/quarantine_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/quarantine_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/release_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/release_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/report_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/report_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/secondary_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/size_class_map_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/size_class_map_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/stats_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/stats_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/strings_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/strings_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/tsd_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/tsd_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/vector_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/vector_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cc)2
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp (renamed from compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cc)2
23 files changed, 49 insertions, 46 deletions
diff --git a/compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt b/compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
index 039ad483c70..f26a8505096 100644
--- a/compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
+++ b/compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
@@ -57,41 +57,44 @@ macro(add_scudo_unittest testname)
endmacro()
set(SCUDO_UNIT_TEST_SOURCES
- atomic_test.cc
- bytemap_test.cc
- checksum_test.cc
- chunk_test.cc
- combined_test.cc
- flags_test.cc
- list_test.cc
- map_test.cc
- mutex_test.cc
- primary_test.cc
- quarantine_test.cc
- release_test.cc
- report_test.cc
- secondary_test.cc
- size_class_map_test.cc
- stats_test.cc
- strings_test.cc
- tsd_test.cc
- vector_test.cc
- scudo_unit_test_main.cc)
+ atomic_test.cpp
+ bytemap_test.cpp
+ checksum_test.cpp
+ chunk_test.cpp
+ combined_test.cpp
+ flags_test.cpp
+ list_test.cpp
+ map_test.cpp
+ mutex_test.cpp
+ primary_test.cpp
+ quarantine_test.cpp
+ release_test.cpp
+ report_test.cpp
+ secondary_test.cpp
+ size_class_map_test.cpp
+ stats_test.cpp
+ strings_test.cpp
+ tsd_test.cpp
+ vector_test.cpp
+ scudo_unit_test_main.cpp
+ )
add_scudo_unittest(ScudoUnitTest
SOURCES ${SCUDO_UNIT_TEST_SOURCES})
set(SCUDO_C_UNIT_TEST_SOURCES
- wrappers_c_test.cc
- scudo_unit_test_main.cc)
+ wrappers_c_test.cpp
+ scudo_unit_test_main.cpp
+ )
add_scudo_unittest(ScudoCUnitTest
SOURCES ${SCUDO_C_UNIT_TEST_SOURCES}
ADDITIONAL_RTOBJECTS RTScudoStandaloneCWrappers)
set(SCUDO_CXX_UNIT_TEST_SOURCES
- wrappers_cpp_test.cc
- scudo_unit_test_main.cc)
+ wrappers_cpp_test.cpp
+ scudo_unit_test_main.cpp
+ )
add_scudo_unittest(ScudoCxxUnitTest
SOURCES ${SCUDO_CXX_UNIT_TEST_SOURCES}
diff --git a/compiler-rt/lib/scudo/standalone/tests/atomic_test.cc b/compiler-rt/lib/scudo/standalone/tests/atomic_test.cpp
index 3095451b9dd..7e6f1d21f6e 100644
--- a/compiler-rt/lib/scudo/standalone/tests/atomic_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/atomic_test.cpp
@@ -1,4 +1,4 @@
-//===-- atomic_test.cc ------------------------------------------*- C++ -*-===//
+//===-- atomic_test.cpp -----------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/bytemap_test.cc b/compiler-rt/lib/scudo/standalone/tests/bytemap_test.cpp
index ea34dc0ea90..df0646bcd99 100644
--- a/compiler-rt/lib/scudo/standalone/tests/bytemap_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/bytemap_test.cpp
@@ -1,4 +1,4 @@
-//===-- bytemap_test.cc -----------------------------------------*- C++ -*-===//
+//===-- bytemap_test.cpp ----------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/checksum_test.cc b/compiler-rt/lib/scudo/standalone/tests/checksum_test.cpp
index 2e8dc8a7bee..43bbd47a3c3 100644
--- a/compiler-rt/lib/scudo/standalone/tests/checksum_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/checksum_test.cpp
@@ -1,4 +1,4 @@
-//===-- checksum_test.cc ----------------------------------------*- C++ -*-===//
+//===-- checksum_test.cpp ---------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/chunk_test.cc b/compiler-rt/lib/scudo/standalone/tests/chunk_test.cpp
index c3a21e41b64..57e128ec826 100644
--- a/compiler-rt/lib/scudo/standalone/tests/chunk_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/chunk_test.cpp
@@ -1,4 +1,4 @@
-//===-- chunk_test.cc -------------------------------------------*- C++ -*-===//
+//===-- chunk_test.cpp ------------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/combined_test.cc b/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
index 46ce2ebf4cf..c8801f955e8 100644
--- a/compiler-rt/lib/scudo/standalone/tests/combined_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
@@ -1,4 +1,4 @@
-//===-- combined_test.cc ----------------------------------------*- C++ -*-===//
+//===-- combined_test.cpp ---------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/flags_test.cc b/compiler-rt/lib/scudo/standalone/tests/flags_test.cpp
index 2808a46cde7..1c07bf13181 100644
--- a/compiler-rt/lib/scudo/standalone/tests/flags_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/flags_test.cpp
@@ -1,4 +1,4 @@
-//===-- flags_test.cc -------------------------------------------*- C++ -*-===//
+//===-- flags_test.cpp ------------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/list_test.cc b/compiler-rt/lib/scudo/standalone/tests/list_test.cpp
index e4053d8b0e6..ce6cadde123 100644
--- a/compiler-rt/lib/scudo/standalone/tests/list_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/list_test.cpp
@@ -1,4 +1,4 @@
-//===-- list_test.cc --------------------------------------------*- C++ -*-===//
+//===-- list_test.cpp -------------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/map_test.cc b/compiler-rt/lib/scudo/standalone/tests/map_test.cpp
index a645e2365b2..ab5dd8ca5fd 100644
--- a/compiler-rt/lib/scudo/standalone/tests/map_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/map_test.cpp
@@ -1,4 +1,4 @@
-//===-- map_test.cc ---------------------------------------------*- C++ -*-===//
+//===-- map_test.cpp --------------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/mutex_test.cc b/compiler-rt/lib/scudo/standalone/tests/mutex_test.cpp
index 930838c5e27..c75ef8edb36 100644
--- a/compiler-rt/lib/scudo/standalone/tests/mutex_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/mutex_test.cpp
@@ -1,4 +1,4 @@
-//===-- mutex_test.cc -------------------------------------------*- C++ -*-===//
+//===-- mutex_test.cpp ------------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/primary_test.cc b/compiler-rt/lib/scudo/standalone/tests/primary_test.cpp
index b4abbc2088a..329a4c11953 100644
--- a/compiler-rt/lib/scudo/standalone/tests/primary_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/primary_test.cpp
@@ -1,4 +1,4 @@
-//===-- primary_test.cc -----------------------------------------*- C++ -*-===//
+//===-- primary_test.cpp ----------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/quarantine_test.cc b/compiler-rt/lib/scudo/standalone/tests/quarantine_test.cpp
index 476a507c596..d7453aa4225 100644
--- a/compiler-rt/lib/scudo/standalone/tests/quarantine_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/quarantine_test.cpp
@@ -1,4 +1,4 @@
-//===-- quarantine_test.cc --------------------------------------*- C++ -*-===//
+//===-- quarantine_test.cpp -------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/release_test.cc b/compiler-rt/lib/scudo/standalone/tests/release_test.cpp
index 2279d5d1530..1de7fed1c4c 100644
--- a/compiler-rt/lib/scudo/standalone/tests/release_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/release_test.cpp
@@ -1,4 +1,4 @@
-//===-- release_test.cc -----------------------------------------*- C++ -*-===//
+//===-- release_test.cpp ----------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/report_test.cc b/compiler-rt/lib/scudo/standalone/tests/report_test.cpp
index ce7eda59c0c..c2f377d9684 100644
--- a/compiler-rt/lib/scudo/standalone/tests/report_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/report_test.cpp
@@ -1,4 +1,4 @@
-//===-- report_test.cc ------------------------------------------*- C++ -*-===//
+//===-- report_test.cpp -----------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/scudo_unit_test_main.cc b/compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp
index 16398e5da7e..60bd5648eef 100644
--- a/compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp
@@ -1,4 +1,4 @@
-//===-- scudo_unit_test_main.cc ---------------------------------*- C++ -*-===//
+//===-- scudo_unit_test_main.cpp --------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/secondary_test.cc b/compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
index 09cd8a21c99..84c375449e3 100644
--- a/compiler-rt/lib/scudo/standalone/tests/secondary_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
@@ -1,4 +1,4 @@
-//===-- secondary_test.cc ---------------------------------------*- C++ -*-===//
+//===-- secondary_test.cpp --------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/size_class_map_test.cc b/compiler-rt/lib/scudo/standalone/tests/size_class_map_test.cpp
index d857aa4b2a5..39babc14902 100644
--- a/compiler-rt/lib/scudo/standalone/tests/size_class_map_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/size_class_map_test.cpp
@@ -1,4 +1,4 @@
-//===-- size_class_map_test.cc ----------------------------------*- C++ -*-===//
+//===-- size_class_map_test.cpp ---------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/stats_test.cc b/compiler-rt/lib/scudo/standalone/tests/stats_test.cpp
index 9ed105d3d83..449c1491d55 100644
--- a/compiler-rt/lib/scudo/standalone/tests/stats_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/stats_test.cpp
@@ -1,4 +1,4 @@
-//===-- stats_test.cc -------------------------------------------*- C++ -*-===//
+//===-- stats_test.cpp ------------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/strings_test.cc b/compiler-rt/lib/scudo/standalone/tests/strings_test.cpp
index 31e59c4037f..3b1a5e8743e 100644
--- a/compiler-rt/lib/scudo/standalone/tests/strings_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/strings_test.cpp
@@ -1,4 +1,4 @@
-//===-- strings_test.cc -----------------------------------------*- C++ -*-===//
+//===-- strings_test.cpp ----------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/tsd_test.cc b/compiler-rt/lib/scudo/standalone/tests/tsd_test.cpp
index 9ab1010165b..1941723d5d0 100644
--- a/compiler-rt/lib/scudo/standalone/tests/tsd_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/tsd_test.cpp
@@ -1,4 +1,4 @@
-//===-- tsd_test.cc ---------------------------------------------*- C++ -*-===//
+//===-- tsd_test.cpp --------------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/vector_test.cc b/compiler-rt/lib/scudo/standalone/tests/vector_test.cpp
index ebfcc43ccec..946a44eee8e 100644
--- a/compiler-rt/lib/scudo/standalone/tests/vector_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/vector_test.cpp
@@ -1,4 +1,4 @@
-//===-- vector_test.cc ------------------------------------------*- C++ -*-===//
+//===-- vector_test.cpp -----------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/wrappers_c_test.cc b/compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
index a5ba80677fd..4f3c9aea605 100644
--- a/compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
@@ -1,4 +1,4 @@
-//===-- wrappers_c_test.cc --------------------------------------*- C++ -*-===//
+//===-- wrappers_c_test.cpp -------------------------------------*- C++ -*-===//
//
// 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/scudo/standalone/tests/wrappers_cpp_test.cc b/compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp
index 766c13fd6ac..5eb65bc8937 100644
--- a/compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cc
+++ b/compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp
@@ -1,4 +1,4 @@
-//===-- wrappers_cpp_test.cc ------------------------------------*- C++ -*-===//
+//===-- wrappers_cpp_test.cpp -----------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
OpenPOWER on IntegriCloud