Skip to content

Commit 5a3bb1a

Browse files
committed
compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp
Like r367463, but for tsan/rtl. llvm-svn: 367564
1 parent 1265d0f commit 5a3bb1a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+104
-98
lines changed

compiler-rt/lib/sanitizer_common/scripts/check_lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ run_lint ${ASAN_LIT_TEST_LINT_FILTER} ${LIT_TESTS}/asan/*/*.cc &
8989

9090
# TSan
9191
TSAN_RTL=${COMPILER_RT}/lib/tsan
92-
run_lint ${TSAN_RTL_LINT_FILTER} ${TSAN_RTL}/rtl/*.cc \
92+
run_lint ${TSAN_RTL_LINT_FILTER} ${TSAN_RTL}/rtl/*.cpp \
9393
${TSAN_RTL}/rtl/*.h &
9494
run_lint ${TSAN_TEST_LINT_FILTER} ${TSAN_RTL}/tests/rtl/*.cc \
9595
${TSAN_RTL}/tests/rtl/*.h \

compiler-rt/lib/tsan/CMakeLists.txt

Lines changed: 41 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -26,52 +26,58 @@ append_list_if(COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG -Wglobal-constructors
2626
TSAN_RTL_CFLAGS)
2727

2828
set(TSAN_SOURCES
29-
rtl/tsan_clock.cc
30-
rtl/tsan_debugging.cc
31-
rtl/tsan_external.cc
32-
rtl/tsan_fd.cc
33-
rtl/tsan_flags.cc
34-
rtl/tsan_ignoreset.cc
35-
rtl/tsan_interceptors.cc
36-
rtl/tsan_interface.cc
37-
rtl/tsan_interface_ann.cc
38-
rtl/tsan_interface_atomic.cc
39-
rtl/tsan_interface_java.cc
40-
rtl/tsan_malloc_mac.cc
41-
rtl/tsan_md5.cc
42-
rtl/tsan_mman.cc
43-
rtl/tsan_mutex.cc
44-
rtl/tsan_mutexset.cc
45-
rtl/tsan_preinit.cc
46-
rtl/tsan_report.cc
47-
rtl/tsan_rtl.cc
48-
rtl/tsan_rtl_mutex.cc
49-
rtl/tsan_rtl_proc.cc
50-
rtl/tsan_rtl_report.cc
51-
rtl/tsan_rtl_thread.cc
52-
rtl/tsan_stack_trace.cc
53-
rtl/tsan_stat.cc
54-
rtl/tsan_suppressions.cc
55-
rtl/tsan_symbolize.cc
56-
rtl/tsan_sync.cc)
29+
rtl/tsan_clock.cpp
30+
rtl/tsan_debugging.cpp
31+
rtl/tsan_external.cpp
32+
rtl/tsan_fd.cpp
33+
rtl/tsan_flags.cpp
34+
rtl/tsan_ignoreset.cpp
35+
rtl/tsan_interceptors.cpp
36+
rtl/tsan_interface.cpp
37+
rtl/tsan_interface_ann.cpp
38+
rtl/tsan_interface_atomic.cpp
39+
rtl/tsan_interface_java.cpp
40+
rtl/tsan_malloc_mac.cpp
41+
rtl/tsan_md5.cpp
42+
rtl/tsan_mman.cpp
43+
rtl/tsan_mutex.cpp
44+
rtl/tsan_mutexset.cpp
45+
rtl/tsan_preinit.cpp
46+
rtl/tsan_report.cpp
47+
rtl/tsan_rtl.cpp
48+
rtl/tsan_rtl_mutex.cpp
49+
rtl/tsan_rtl_proc.cpp
50+
rtl/tsan_rtl_report.cpp
51+
rtl/tsan_rtl_thread.cpp
52+
rtl/tsan_stack_trace.cpp
53+
rtl/tsan_stat.cpp
54+
rtl/tsan_suppressions.cpp
55+
rtl/tsan_symbolize.cpp
56+
rtl/tsan_sync.cpp
57+
)
5758

5859
set(TSAN_CXX_SOURCES
59-
rtl/tsan_new_delete.cc)
60+
rtl/tsan_new_delete.cpp
61+
)
6062

6163
if(APPLE)
6264
list(APPEND TSAN_SOURCES
63-
rtl/tsan_interceptors_mac.cc
64-
rtl/tsan_platform_mac.cc
65-
rtl/tsan_platform_posix.cc)
65+
rtl/tsan_interceptors_mac.cpp
66+
rtl/tsan_platform_mac.cpp
67+
rtl/tsan_platform_posix.cpp
68+
)
6669
elseif(UNIX)
6770
# Assume Linux
6871
list(APPEND TSAN_SOURCES
69-
rtl/tsan_platform_linux.cc
70-
rtl/tsan_platform_posix.cc)
72+
rtl/tsan_platform_linux.cpp
73+
rtl/tsan_platform_posix.cpp
74+
)
7175
endif()
7276

7377
if(COMPILER_RT_INTERCEPT_LIBDISPATCH)
74-
list(APPEND TSAN_SOURCES rtl/tsan_libdispatch.cc)
78+
list(APPEND TSAN_SOURCES
79+
rtl/tsan_libdispatch.cpp
80+
)
7581
list(APPEND TSAN_RTL_CFLAGS ${COMPILER_RT_LIBDISPATCH_CFLAGS})
7682
endif()
7783

compiler-rt/lib/tsan/go/build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
type tsan_go.cc ..\rtl\tsan_interface_atomic.cc ..\rtl\tsan_clock.cc ..\rtl\tsan_flags.cc ..\rtl\tsan_md5.cc ..\rtl\tsan_mutex.cc ..\rtl\tsan_report.cc ..\rtl\tsan_rtl.cc ..\rtl\tsan_rtl_mutex.cc ..\rtl\tsan_rtl_report.cc ..\rtl\tsan_rtl_thread.cc ..\rtl\tsan_rtl_proc.cc ..\rtl\tsan_stat.cc ..\rtl\tsan_suppressions.cc ..\rtl\tsan_sync.cc ..\rtl\tsan_stack_trace.cc ..\..\sanitizer_common\sanitizer_allocator.cpp ..\..\sanitizer_common\sanitizer_common.cpp ..\..\sanitizer_common\sanitizer_flags.cpp ..\..\sanitizer_common\sanitizer_stacktrace.cpp ..\..\sanitizer_common\sanitizer_libc.cpp ..\..\sanitizer_common\sanitizer_printf.cpp ..\..\sanitizer_common\sanitizer_suppressions.cpp ..\..\sanitizer_common\sanitizer_thread_registry.cpp ..\rtl\tsan_platform_windows.cc ..\..\sanitizer_common\sanitizer_win.cpp ..\..\sanitizer_common\sanitizer_deadlock_detector1.cpp ..\..\sanitizer_common\sanitizer_stackdepot.cpp ..\..\sanitizer_common\sanitizer_persistent_allocator.cpp ..\..\sanitizer_common\sanitizer_flag_parser.cpp ..\..\sanitizer_common\sanitizer_symbolizer.cpp ..\..\sanitizer_common\sanitizer_termination.cpp > gotsan.cc
1+
type tsan_go.cc ..\rtl\tsan_interface_atomic.cpp ..\rtl\tsan_clock.cpp ..\rtl\tsan_flags.cpp ..\rtl\tsan_md5.cpp ..\rtl\tsan_mutex.cpp ..\rtl\tsan_report.cpp ..\rtl\tsan_rtl.cpp ..\rtl\tsan_rtl_mutex.cpp ..\rtl\tsan_rtl_report.cpp ..\rtl\tsan_rtl_thread.cpp ..\rtl\tsan_rtl_proc.cpp ..\rtl\tsan_stat.cpp ..\rtl\tsan_suppressions.cpp ..\rtl\tsan_sync.cpp ..\rtl\tsan_stack_trace.cpp ..\..\sanitizer_common\sanitizer_allocator.cpp ..\..\sanitizer_common\sanitizer_common.cpp ..\..\sanitizer_common\sanitizer_flags.cpp ..\..\sanitizer_common\sanitizer_stacktrace.cpp ..\..\sanitizer_common\sanitizer_libc.cpp ..\..\sanitizer_common\sanitizer_printf.cpp ..\..\sanitizer_common\sanitizer_suppressions.cpp ..\..\sanitizer_common\sanitizer_thread_registry.cpp ..\rtl\tsan_platform_windows.cpp ..\..\sanitizer_common\sanitizer_win.cpp ..\..\sanitizer_common\sanitizer_deadlock_detector1.cpp ..\..\sanitizer_common\sanitizer_stackdepot.cpp ..\..\sanitizer_common\sanitizer_persistent_allocator.cpp ..\..\sanitizer_common\sanitizer_flag_parser.cpp ..\..\sanitizer_common\sanitizer_symbolizer.cpp ..\..\sanitizer_common\sanitizer_termination.cpp > gotsan.cc
22

33
gcc -c -o race_windows_amd64.syso gotsan.cc -I..\rtl -I..\.. -I..\..\sanitizer_common -I..\..\..\include -m64 -Wall -fno-exceptions -fno-rtti -DSANITIZER_GO=1 -Wno-error=attributes -Wno-attributes -Wno-format -Wno-maybe-uninitialized -DSANITIZER_DEBUG=0 -O3 -fomit-frame-pointer -std=c++11
44

compiler-rt/lib/tsan/go/buildgo.sh

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ set -e
44

55
SRCS="
66
tsan_go.cc
7-
../rtl/tsan_clock.cc
8-
../rtl/tsan_external.cc
9-
../rtl/tsan_flags.cc
10-
../rtl/tsan_interface_atomic.cc
11-
../rtl/tsan_md5.cc
12-
../rtl/tsan_mutex.cc
13-
../rtl/tsan_report.cc
14-
../rtl/tsan_rtl.cc
15-
../rtl/tsan_rtl_mutex.cc
16-
../rtl/tsan_rtl_report.cc
17-
../rtl/tsan_rtl_thread.cc
18-
../rtl/tsan_rtl_proc.cc
19-
../rtl/tsan_stack_trace.cc
20-
../rtl/tsan_stat.cc
21-
../rtl/tsan_suppressions.cc
22-
../rtl/tsan_sync.cc
7+
../rtl/tsan_clock.cpp
8+
../rtl/tsan_external.cpp
9+
../rtl/tsan_flags.cpp
10+
../rtl/tsan_interface_atomic.cpp
11+
../rtl/tsan_md5.cpp
12+
../rtl/tsan_mutex.cpp
13+
../rtl/tsan_report.cpp
14+
../rtl/tsan_rtl.cpp
15+
../rtl/tsan_rtl_mutex.cpp
16+
../rtl/tsan_rtl_report.cpp
17+
../rtl/tsan_rtl_thread.cpp
18+
../rtl/tsan_rtl_proc.cpp
19+
../rtl/tsan_stack_trace.cpp
20+
../rtl/tsan_stat.cpp
21+
../rtl/tsan_suppressions.cpp
22+
../rtl/tsan_sync.cpp
2323
../../sanitizer_common/sanitizer_allocator.cpp
2424
../../sanitizer_common/sanitizer_common.cpp
2525
../../sanitizer_common/sanitizer_common_libcdep.cpp
@@ -44,7 +44,7 @@ if [ "`uname -a | grep Linux`" != "" ]; then
4444
OSLDFLAGS="-lpthread -fPIC -fpie"
4545
SRCS="
4646
$SRCS
47-
../rtl/tsan_platform_linux.cc
47+
../rtl/tsan_platform_linux.cpp
4848
../../sanitizer_common/sanitizer_posix.cpp
4949
../../sanitizer_common/sanitizer_posix_libcdep.cpp
5050
../../sanitizer_common/sanitizer_procmaps_common.cpp
@@ -72,7 +72,7 @@ elif [ "`uname -a | grep FreeBSD`" != "" ]; then
7272
OSLDFLAGS="-lpthread -fPIC -fpie"
7373
SRCS="
7474
$SRCS
75-
../rtl/tsan_platform_linux.cc
75+
../rtl/tsan_platform_linux.cpp
7676
../../sanitizer_common/sanitizer_posix.cpp
7777
../../sanitizer_common/sanitizer_posix_libcdep.cpp
7878
../../sanitizer_common/sanitizer_procmaps_bsd.cpp
@@ -89,7 +89,7 @@ elif [ "`uname -a | grep NetBSD`" != "" ]; then
8989
OSLDFLAGS="-lpthread -fPIC -fpie"
9090
SRCS="
9191
$SRCS
92-
../rtl/tsan_platform_linux.cc
92+
../rtl/tsan_platform_linux.cpp
9393
../../sanitizer_common/sanitizer_posix.cpp
9494
../../sanitizer_common/sanitizer_posix_libcdep.cpp
9595
../../sanitizer_common/sanitizer_procmaps_bsd.cpp
@@ -107,7 +107,7 @@ elif [ "`uname -a | grep Darwin`" != "" ]; then
107107
OSLDFLAGS="-lpthread -fPIC -fpie -mmacosx-version-min=10.7"
108108
SRCS="
109109
$SRCS
110-
../rtl/tsan_platform_mac.cc
110+
../rtl/tsan_platform_mac.cpp
111111
../../sanitizer_common/sanitizer_mac.cpp
112112
../../sanitizer_common/sanitizer_posix.cpp
113113
../../sanitizer_common/sanitizer_posix_libcdep.cpp
@@ -120,7 +120,7 @@ elif [ "`uname -a | grep MINGW`" != "" ]; then
120120
OSLDFLAGS=""
121121
SRCS="
122122
$SRCS
123-
../rtl/tsan_platform_windows.cc
123+
../rtl/tsan_platform_windows.cpp
124124
../../sanitizer_common/sanitizer_win.cpp
125125
"
126126
else

compiler-rt/lib/tsan/rtl/tsan_clock.cc renamed to compiler-rt/lib/tsan/rtl/tsan_clock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_clock.cc -----------------------------------------------------===//
1+
//===-- tsan_clock.cpp ----------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_debugging.cc renamed to compiler-rt/lib/tsan/rtl/tsan_debugging.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_debugging.cc -------------------------------------------------===//
1+
//===-- tsan_debugging.cpp ------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_external.cc renamed to compiler-rt/lib/tsan/rtl/tsan_external.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_external.cc --------------------------------------------------===//
1+
//===-- tsan_external.cpp -------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_fd.cc renamed to compiler-rt/lib/tsan/rtl/tsan_fd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_fd.cc --------------------------------------------------------===//
1+
//===-- tsan_fd.cpp -------------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_flags.cc renamed to compiler-rt/lib/tsan/rtl/tsan_flags.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_flags.cc -----------------------------------------------------===//
1+
//===-- tsan_flags.cpp ----------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_ignoreset.cc renamed to compiler-rt/lib/tsan/rtl/tsan_ignoreset.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_ignoreset.cc -------------------------------------------------===//
1+
//===-- tsan_ignoreset.cpp ------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_interceptors.cc renamed to compiler-rt/lib/tsan/rtl/tsan_interceptors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_interceptors.cc ----------------------------------------------===//
1+
//===-- tsan_interceptors.cpp ---------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_interceptors_mac.cc renamed to compiler-rt/lib/tsan/rtl/tsan_interceptors_mac.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_interceptors_mac.cc ------------------------------------------===//
1+
//===-- tsan_interceptors_mac.cpp -----------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_interface.cc renamed to compiler-rt/lib/tsan/rtl/tsan_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_interface.cc -------------------------------------------------===//
1+
//===-- tsan_interface.cpp ------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_interface_ann.cc renamed to compiler-rt/lib/tsan/rtl/tsan_interface_ann.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_interface_ann.cc ---------------------------------------------===//
1+
//===-- tsan_interface_ann.cpp --------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc renamed to compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_interface_atomic.cc ------------------------------------------===//
1+
//===-- tsan_interface_atomic.cpp -----------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_interface_java.cc renamed to compiler-rt/lib/tsan/rtl/tsan_interface_java.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_interface_java.cc --------------------------------------------===//
1+
//===-- tsan_interface_java.cpp -------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_libdispatch.cc renamed to compiler-rt/lib/tsan/rtl/tsan_libdispatch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_libdispatch.cc -----------------------------------------------===//
1+
//===-- tsan_libdispatch.cpp ----------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_malloc_mac.cc renamed to compiler-rt/lib/tsan/rtl/tsan_malloc_mac.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_malloc_mac.cc ------------------------------------------------===//
1+
//===-- tsan_malloc_mac.cpp -----------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_md5.cc renamed to compiler-rt/lib/tsan/rtl/tsan_md5.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_md5.cc -------------------------------------------------------===//
1+
//===-- tsan_md5.cpp ------------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_mman.cc renamed to compiler-rt/lib/tsan/rtl/tsan_mman.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_mman.cc ------------------------------------------------------===//
1+
//===-- tsan_mman.cpp -----------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_mutex.cc renamed to compiler-rt/lib/tsan/rtl/tsan_mutex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_mutex.cc -----------------------------------------------------===//
1+
//===-- tsan_mutex.cpp ----------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_mutexset.cc renamed to compiler-rt/lib/tsan/rtl/tsan_mutexset.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_mutexset.cc --------------------------------------------------===//
1+
//===-- tsan_mutexset.cpp -------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_new_delete.cc renamed to compiler-rt/lib/tsan/rtl/tsan_new_delete.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_new_delete.cc ----------------------------------------------===//
1+
//===-- tsan_new_delete.cpp ---------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc renamed to compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_platform_linux.cc --------------------------------------------===//
1+
//===-- tsan_platform_linux.cpp -------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_platform_mac.cc renamed to compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_platform_mac.cc ----------------------------------------------===//
1+
//===-- tsan_platform_mac.cpp ---------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_platform_posix.cc renamed to compiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_platform_posix.cc --------------------------------------------===//
1+
//===-- tsan_platform_posix.cpp -------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_platform_windows.cc renamed to compiler-rt/lib/tsan/rtl/tsan_platform_windows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_platform_windows.cc ------------------------------------------===//
1+
//===-- tsan_platform_windows.cpp -----------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_preinit.cc renamed to compiler-rt/lib/tsan/rtl/tsan_preinit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_preinit.cc ---------------------------------------------------===//
1+
//===-- tsan_preinit.cpp --------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_report.cc renamed to compiler-rt/lib/tsan/rtl/tsan_report.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_report.cc ----------------------------------------------------===//
1+
//===-- tsan_report.cpp ---------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -298,7 +298,7 @@ static bool FrameIsInternal(const SymbolizedStack *frame) {
298298
const char *file = frame->info.file;
299299
const char *module = frame->info.module;
300300
if (file != 0 &&
301-
(internal_strstr(file, "tsan_interceptors.cc") ||
301+
(internal_strstr(file, "tsan_interceptors.cpp") ||
302302
internal_strstr(file, "sanitizer_common_interceptors.inc") ||
303303
internal_strstr(file, "tsan_interface_")))
304304
return true;

compiler-rt/lib/tsan/rtl/tsan_rtl.cc renamed to compiler-rt/lib/tsan/rtl/tsan_rtl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_rtl.cc -------------------------------------------------------===//
1+
//===-- tsan_rtl.cpp ------------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -869,7 +869,7 @@ void MemoryAccess(ThreadState *thr, uptr pc, uptr addr,
869869
shadow_mem, cur);
870870
}
871871

872-
// Called by MemoryAccessRange in tsan_rtl_thread.cc
872+
// Called by MemoryAccessRange in tsan_rtl_thread.cpp
873873
ALWAYS_INLINE USED
874874
void MemoryAccessImpl(ThreadState *thr, uptr addr,
875875
int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic,

compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc renamed to compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_rtl_mutex.cc -------------------------------------------------===//
1+
//===-- tsan_rtl_mutex.cpp ------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_rtl_proc.cc renamed to compiler-rt/lib/tsan/rtl/tsan_rtl_proc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_rtl_proc.cc ------------------------------------------------===//
1+
//===-- tsan_rtl_proc.cpp -----------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc renamed to compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_rtl_report.cc ------------------------------------------------===//
1+
//===-- tsan_rtl_report.cpp -----------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc renamed to compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_rtl_thread.cc ------------------------------------------------===//
1+
//===-- tsan_rtl_thread.cpp -----------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/tsan/rtl/tsan_stack_trace.cc renamed to compiler-rt/lib/tsan/rtl/tsan_stack_trace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- tsan_stack_trace.cc -----------------------------------------------===//
1+
//===-- tsan_stack_trace.cpp ----------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

0 commit comments

Comments
 (0)