summaryrefslogtreecommitdiff
path: root/test/sanitizer_common
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-08-05 13:57:03 +0000
committerNico Weber <nicolasweber@gmx.de>2019-08-05 13:57:03 +0000
commit71638dc011521b02024972b12f2dae8ba89001b0 (patch)
tree0af34b7e7c5897557f886c3c348c2cfa98e20a43 /test/sanitizer_common
parenta467d95f64447ccbca75f597d23f84f8aee9ea7e (diff)
downloadcompiler-rt-71638dc011521b02024972b12f2dae8ba89001b0.tar.gz
compiler-rt: Rename cc files below test/sanitizer_common to cpp
See r367803 and similar other changes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@367863 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/sanitizer_common')
-rw-r--r--test/sanitizer_common/TestCases/Darwin/abort_on_error.cpp (renamed from test/sanitizer_common/TestCases/Darwin/abort_on_error.cc)2
-rw-r--r--test/sanitizer_common/TestCases/Darwin/fputs_puts_null.cpp (renamed from test/sanitizer_common/TestCases/Darwin/fputs_puts_null.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Darwin/print-stack-trace.cpp (renamed from test/sanitizer_common/TestCases/Darwin/print-stack-trace.cc)4
-rw-r--r--test/sanitizer_common/TestCases/FreeBSD/capsicum.cpp (renamed from test/sanitizer_common/TestCases/FreeBSD/capsicum.cc)0
-rw-r--r--test/sanitizer_common/TestCases/FreeBSD/fdevname.cpp (renamed from test/sanitizer_common/TestCases/FreeBSD/fdevname.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/abort_on_error.cpp (renamed from test/sanitizer_common/TestCases/Linux/abort_on_error.cc)2
-rw-r--r--test/sanitizer_common/TestCases/Linux/aligned_alloc-alignment.cpp (renamed from test/sanitizer_common/TestCases/Linux/aligned_alloc-alignment.cc)2
-rw-r--r--test/sanitizer_common/TestCases/Linux/allow_user_segv.cpp (renamed from test/sanitizer_common/TestCases/Linux/allow_user_segv.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/assert.cpp (renamed from test/sanitizer_common/TestCases/Linux/assert.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp (renamed from test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/deepbind.cpp (renamed from test/sanitizer_common/TestCases/Linux/deepbind.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cpp (renamed from test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/ill.cpp (renamed from test/sanitizer_common/TestCases/Linux/ill.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/mallopt.cpp (renamed from test/sanitizer_common/TestCases/Linux/mallopt.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/mlock_test.cpp (renamed from test/sanitizer_common/TestCases/Linux/mlock_test.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/mprobe.cpp (renamed from test/sanitizer_common/TestCases/Linux/mprobe.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/name_to_handle_at.cpp (renamed from test/sanitizer_common/TestCases/Linux/name_to_handle_at.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/new_delete_test.cpp (renamed from test/sanitizer_common/TestCases/Linux/new_delete_test.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/open_memstream.cpp (renamed from test/sanitizer_common/TestCases/Linux/open_memstream.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/pthread_mutex.cpp (renamed from test/sanitizer_common/TestCases/Linux/pthread_mutex.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/ptrace.cpp (renamed from test/sanitizer_common/TestCases/Linux/ptrace.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/pvalloc-overflow.cpp (renamed from test/sanitizer_common/TestCases/Linux/pvalloc-overflow.cc)2
-rw-r--r--test/sanitizer_common/TestCases/Linux/recv_msg_trunc.cpp (renamed from test/sanitizer_common/TestCases/Linux/recv_msg_trunc.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/sched_getparam.cpp (renamed from test/sanitizer_common/TestCases/Linux/sched_getparam.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/sem_init_glibc.cpp (renamed from test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/signal_segv_handler.cpp (renamed from test/sanitizer_common/TestCases/Linux/signal_segv_handler.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp (renamed from test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/sysconf_interceptor_bypass_test.cpp (renamed from test/sanitizer_common/TestCases/Linux/sysconf_interceptor_bypass_test.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/timerfd.cpp (renamed from test/sanitizer_common/TestCases/Linux/timerfd.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cpp (renamed from test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/asysctl.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/asysctl.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/cdb.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/cdb.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/faccessat.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/faccessat.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/fparseln.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/fparseln.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/funopen2.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/funopen2.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/getgrouplist.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/getgrouplist.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/getvfsstat.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/getvfsstat.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/gid_from_group.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/gid_from_group.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/group_from_gid.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/group_from_gid.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/md2.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/md2.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/md4.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/md4.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/md5.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/md5.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/mi_vector_hash.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/mi_vector_hash.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/netent.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/netent.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/paccept.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/paccept.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/protoent.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/protoent.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/rmd160.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/rmd160.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/sha1.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/sha1.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/sha2.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/sha2.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/statvfs1.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/statvfs1.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/strmode.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/strmode.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/strtoi.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/strtoi.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/sysctlgetmibinfo.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/sysctlgetmibinfo.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/ttyent.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/ttyent.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/uid_from_user.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/uid_from_user.cc)0
-rw-r--r--test/sanitizer_common/TestCases/NetBSD/user_from_uid.cpp (renamed from test/sanitizer_common/TestCases/NetBSD/user_from_uid.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/access.cpp (renamed from test/sanitizer_common/TestCases/Posix/access.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/arc4random.cpp (renamed from test/sanitizer_common/TestCases/Posix/arc4random.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp (renamed from test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/devname.cpp (renamed from test/sanitizer_common/TestCases/Posix/devname.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/devname_r.cpp (renamed from test/sanitizer_common/TestCases/Posix/devname_r.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/dump_instruction_bytes.cpp (renamed from test/sanitizer_common/TestCases/Posix/dump_instruction_bytes.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/dump_registers.cpp (renamed from test/sanitizer_common/TestCases/Posix/dump_registers.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/feof_fileno_ferror.cpp (renamed from test/sanitizer_common/TestCases/Posix/feof_fileno_ferror.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/fgetc_ungetc_getc.cpp (renamed from test/sanitizer_common/TestCases/Posix/fgetc_ungetc_getc.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/fgetln.cpp (renamed from test/sanitizer_common/TestCases/Posix/fgetln.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/fgets.cpp (renamed from test/sanitizer_common/TestCases/Posix/fgets.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/fpe.cpp (renamed from test/sanitizer_common/TestCases/Posix/fpe.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/fputc_putc_putchar.cpp (renamed from test/sanitizer_common/TestCases/Posix/fputc_putc_putchar.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/fputs_puts.cpp (renamed from test/sanitizer_common/TestCases/Posix/fputs_puts.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/fseek.cpp (renamed from test/sanitizer_common/TestCases/Posix/fseek.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/fts.cpp (renamed from test/sanitizer_common/TestCases/Posix/fts.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/funopen.cpp (renamed from test/sanitizer_common/TestCases/Posix/funopen.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/getc_unlocked.cpp (renamed from test/sanitizer_common/TestCases/Posix/getc_unlocked.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/getfsent.cpp (renamed from test/sanitizer_common/TestCases/Posix/getfsent.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/getmntinfo.cpp (renamed from test/sanitizer_common/TestCases/Posix/getmntinfo.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/getpass.cpp (renamed from test/sanitizer_common/TestCases/Posix/getpass.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/getpw_getgr.cpp (renamed from test/sanitizer_common/TestCases/Posix/getpw_getgr.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/getusershell.cpp (renamed from test/sanitizer_common/TestCases/Posix/getusershell.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/illegal_read_test.cpp (renamed from test/sanitizer_common/TestCases/Posix/illegal_read_test.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/illegal_write_test.cpp (renamed from test/sanitizer_common/TestCases/Posix/illegal_write_test.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/lstat.cpp (renamed from test/sanitizer_common/TestCases/Posix/lstat.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/nl_langinfo.cpp (renamed from test/sanitizer_common/TestCases/Posix/nl_langinfo.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/popen.cpp (renamed from test/sanitizer_common/TestCases/Posix/popen.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/posix_memalign-alignment.cpp (renamed from test/sanitizer_common/TestCases/Posix/posix_memalign-alignment.cc)2
-rw-r--r--test/sanitizer_common/TestCases/Posix/putc_putchar_unlocked.cpp (renamed from test/sanitizer_common/TestCases/Posix/putc_putchar_unlocked.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/regex.cpp (renamed from test/sanitizer_common/TestCases/Posix/regex.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/sanitizer_set_death_callback_test.cpp (renamed from test/sanitizer_common/TestCases/Posix/sanitizer_set_death_callback_test.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cpp (renamed from test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/setvbuf.cpp (renamed from test/sanitizer_common/TestCases/Posix/setvbuf.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/sl_add.cpp (renamed from test/sanitizer_common/TestCases/Posix/sl_add.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/strlcat.cpp (renamed from test/sanitizer_common/TestCases/Posix/strlcat.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/strlcpy.cpp (renamed from test/sanitizer_common/TestCases/Posix/strlcpy.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/strtonum.cpp (renamed from test/sanitizer_common/TestCases/Posix/strtonum.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/sysctl.cpp (renamed from test/sanitizer_common/TestCases/Posix/sysctl.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/vis.cpp (renamed from test/sanitizer_common/TestCases/Posix/vis.cc)0
-rw-r--r--test/sanitizer_common/TestCases/Posix/weak_hook_test.cpp (renamed from test/sanitizer_common/TestCases/Posix/weak_hook_test.cc)0
-rw-r--r--test/sanitizer_common/TestCases/allocator_returns_null.cpp (renamed from test/sanitizer_common/TestCases/allocator_returns_null.cc)0
-rw-r--r--test/sanitizer_common/TestCases/corelimit.cpp (renamed from test/sanitizer_common/TestCases/corelimit.cc)0
-rw-r--r--test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cpp (renamed from test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cc)2
-rw-r--r--test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp (renamed from test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cc)0
-rw-r--r--test/sanitizer_common/TestCases/malloc_hook.cpp (renamed from test/sanitizer_common/TestCases/malloc_hook.cc)0
-rw-r--r--test/sanitizer_common/TestCases/options-help.cpp (renamed from test/sanitizer_common/TestCases/options-help.cc)0
-rw-r--r--test/sanitizer_common/TestCases/options-include.cpp (renamed from test/sanitizer_common/TestCases/options-include.cc)2
-rw-r--r--test/sanitizer_common/TestCases/options-invalid.cpp (renamed from test/sanitizer_common/TestCases/options-invalid.cc)0
-rw-r--r--test/sanitizer_common/TestCases/print-stack-trace.cpp (renamed from test/sanitizer_common/TestCases/print-stack-trace.cc)6
-rw-r--r--test/sanitizer_common/TestCases/pthread_mutexattr_get.cpp (renamed from test/sanitizer_common/TestCases/pthread_mutexattr_get.cc)0
-rw-r--r--test/sanitizer_common/TestCases/reallocarray-overflow.cpp (renamed from test/sanitizer_common/TestCases/reallocarray-overflow.cc)0
-rw-r--r--test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter.cpp (renamed from test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter.cc)0
-rw-r--r--test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cpp (renamed from test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cc)0
-rw-r--r--test/sanitizer_common/TestCases/sanitizer_coverage_stack_depth.cpp (renamed from test/sanitizer_common/TestCases/sanitizer_coverage_stack_depth.cc)0
-rw-r--r--test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cpp (renamed from test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cc)0
-rw-r--r--test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cpp (renamed from test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cc)4
-rw-r--r--test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-init.cpp (renamed from test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-init.cc)0
-rw-r--r--test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp (renamed from test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cc)4
-rw-r--r--test/sanitizer_common/TestCases/symbolize_pc.cpp (renamed from test/sanitizer_common/TestCases/symbolize_pc.cc)4
-rw-r--r--test/sanitizer_common/TestCases/symbolize_pc_inline.cpp (renamed from test/sanitizer_common/TestCases/symbolize_pc_inline.cc)10
-rw-r--r--test/sanitizer_common/TestCases/symbolize_stack.cpp (renamed from test/sanitizer_common/TestCases/symbolize_stack.cc)0
119 files changed, 23 insertions, 23 deletions
diff --git a/test/sanitizer_common/TestCases/Darwin/abort_on_error.cc b/test/sanitizer_common/TestCases/Darwin/abort_on_error.cpp
index e25a676df..aa3e1dbd9 100644
--- a/test/sanitizer_common/TestCases/Darwin/abort_on_error.cc
+++ b/test/sanitizer_common/TestCases/Darwin/abort_on_error.cpp
@@ -1,5 +1,5 @@
// Check that sanitizers on OS X crash the process by default (i.e.
-// abort_on_error=1). See also Linux/abort_on_error.cc.
+// abort_on_error=1). See also Linux/abort_on_error.cpp.
// RUN: %clangxx -DUSING_%tool_name %s -o %t
diff --git a/test/sanitizer_common/TestCases/Darwin/fputs_puts_null.cc b/test/sanitizer_common/TestCases/Darwin/fputs_puts_null.cpp
index 705ca2e98..705ca2e98 100644
--- a/test/sanitizer_common/TestCases/Darwin/fputs_puts_null.cc
+++ b/test/sanitizer_common/TestCases/Darwin/fputs_puts_null.cpp
diff --git a/test/sanitizer_common/TestCases/Darwin/print-stack-trace.cc b/test/sanitizer_common/TestCases/Darwin/print-stack-trace.cpp
index 715282fd7..e02862d3d 100644
--- a/test/sanitizer_common/TestCases/Darwin/print-stack-trace.cc
+++ b/test/sanitizer_common/TestCases/Darwin/print-stack-trace.cpp
@@ -12,8 +12,8 @@ int main() {
return 0;
}
// CHECK: {{ #0 0x.* in __sanitizer_print_stack_trace}}
-// CHECK: {{ #1 0x.* in FooBarBaz(\(\))? .*}}print-stack-trace.cc:[[@LINE-8]]
-// CHECK: {{ #2 0x.* in main.*}}print-stack-trace.cc:[[@LINE-5]]
+// CHECK: {{ #1 0x.* in FooBarBaz(\(\))? .*}}print-stack-trace.cpp:[[@LINE-8]]
+// CHECK: {{ #2 0x.* in main.*}}print-stack-trace.cpp:[[@LINE-5]]
// CUSTOM: frame:1 lineno:[[@LINE-11]]
// CUSTOM: frame:2 lineno:[[@LINE-8]]
diff --git a/test/sanitizer_common/TestCases/FreeBSD/capsicum.cc b/test/sanitizer_common/TestCases/FreeBSD/capsicum.cpp
index 1bfb6f8d9..1bfb6f8d9 100644
--- a/test/sanitizer_common/TestCases/FreeBSD/capsicum.cc
+++ b/test/sanitizer_common/TestCases/FreeBSD/capsicum.cpp
diff --git a/test/sanitizer_common/TestCases/FreeBSD/fdevname.cc b/test/sanitizer_common/TestCases/FreeBSD/fdevname.cpp
index 252335e9a..252335e9a 100644
--- a/test/sanitizer_common/TestCases/FreeBSD/fdevname.cc
+++ b/test/sanitizer_common/TestCases/FreeBSD/fdevname.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/abort_on_error.cc b/test/sanitizer_common/TestCases/Linux/abort_on_error.cpp
index e4b246e35..d667abcf2 100644
--- a/test/sanitizer_common/TestCases/Linux/abort_on_error.cc
+++ b/test/sanitizer_common/TestCases/Linux/abort_on_error.cpp
@@ -1,5 +1,5 @@
// Check that sanitizers call _exit() on Linux by default (i.e.
-// abort_on_error=0). See also Darwin/abort_on_error.cc.
+// abort_on_error=0). See also Darwin/abort_on_error.cpp.
// RUN: %clangxx %s -o %t
diff --git a/test/sanitizer_common/TestCases/Linux/aligned_alloc-alignment.cc b/test/sanitizer_common/TestCases/Linux/aligned_alloc-alignment.cpp
index 1a340edec..7b119e6a7 100644
--- a/test/sanitizer_common/TestCases/Linux/aligned_alloc-alignment.cc
+++ b/test/sanitizer_common/TestCases/Linux/aligned_alloc-alignment.cpp
@@ -31,7 +31,7 @@ int main(int argc, char **argv) {
// CHECK: {{ERROR: .*Sanitizer: invalid alignment requested in aligned_alloc}}
// Handle a case when aligned_alloc is aliased by memalign.
// CHECK: {{#0 .*}}{{aligned_alloc|memalign}}
- // CHECK: {{#1 .*main .*aligned_alloc-alignment.cc:}}[[@LINE-4]]
+ // CHECK: {{#1 .*main .*aligned_alloc-alignment.cpp:}}[[@LINE-4]]
// CHECK: {{SUMMARY: .*Sanitizer: invalid-aligned-alloc-alignment}}
// The NULL pointer is printed differently on different systems, while (long)0
diff --git a/test/sanitizer_common/TestCases/Linux/allow_user_segv.cc b/test/sanitizer_common/TestCases/Linux/allow_user_segv.cpp
index bd58f4bd9..bd58f4bd9 100644
--- a/test/sanitizer_common/TestCases/Linux/allow_user_segv.cc
+++ b/test/sanitizer_common/TestCases/Linux/allow_user_segv.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/assert.cc b/test/sanitizer_common/TestCases/Linux/assert.cpp
index 2a73c5088..2a73c5088 100644
--- a/test/sanitizer_common/TestCases/Linux/assert.cc
+++ b/test/sanitizer_common/TestCases/Linux/assert.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cc b/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp
index 8a05f4b66..8a05f4b66 100644
--- a/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cc
+++ b/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/deepbind.cc b/test/sanitizer_common/TestCases/Linux/deepbind.cpp
index 81150fae9..81150fae9 100644
--- a/test/sanitizer_common/TestCases/Linux/deepbind.cc
+++ b/test/sanitizer_common/TestCases/Linux/deepbind.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cc b/test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cpp
index c0d6cfea1..c0d6cfea1 100644
--- a/test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cc
+++ b/test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/ill.cc b/test/sanitizer_common/TestCases/Linux/ill.cpp
index bbde13b56..bbde13b56 100644
--- a/test/sanitizer_common/TestCases/Linux/ill.cc
+++ b/test/sanitizer_common/TestCases/Linux/ill.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/mallopt.cc b/test/sanitizer_common/TestCases/Linux/mallopt.cpp
index 9ac3c5dc5..9ac3c5dc5 100644
--- a/test/sanitizer_common/TestCases/Linux/mallopt.cc
+++ b/test/sanitizer_common/TestCases/Linux/mallopt.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/mlock_test.cc b/test/sanitizer_common/TestCases/Linux/mlock_test.cpp
index a952922aa..a952922aa 100644
--- a/test/sanitizer_common/TestCases/Linux/mlock_test.cc
+++ b/test/sanitizer_common/TestCases/Linux/mlock_test.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/mprobe.cc b/test/sanitizer_common/TestCases/Linux/mprobe.cpp
index 82c0faf0e..82c0faf0e 100644
--- a/test/sanitizer_common/TestCases/Linux/mprobe.cc
+++ b/test/sanitizer_common/TestCases/Linux/mprobe.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/name_to_handle_at.cc b/test/sanitizer_common/TestCases/Linux/name_to_handle_at.cpp
index e23771072..e23771072 100644
--- a/test/sanitizer_common/TestCases/Linux/name_to_handle_at.cc
+++ b/test/sanitizer_common/TestCases/Linux/name_to_handle_at.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/new_delete_test.cc b/test/sanitizer_common/TestCases/Linux/new_delete_test.cpp
index 5e5346a08..5e5346a08 100644
--- a/test/sanitizer_common/TestCases/Linux/new_delete_test.cc
+++ b/test/sanitizer_common/TestCases/Linux/new_delete_test.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/open_memstream.cc b/test/sanitizer_common/TestCases/Linux/open_memstream.cpp
index cf31f44be..cf31f44be 100644
--- a/test/sanitizer_common/TestCases/Linux/open_memstream.cc
+++ b/test/sanitizer_common/TestCases/Linux/open_memstream.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/pthread_mutex.cc b/test/sanitizer_common/TestCases/Linux/pthread_mutex.cpp
index 610958143..610958143 100644
--- a/test/sanitizer_common/TestCases/Linux/pthread_mutex.cc
+++ b/test/sanitizer_common/TestCases/Linux/pthread_mutex.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/ptrace.cc b/test/sanitizer_common/TestCases/Linux/ptrace.cpp
index 82532c35f..82532c35f 100644
--- a/test/sanitizer_common/TestCases/Linux/ptrace.cc
+++ b/test/sanitizer_common/TestCases/Linux/ptrace.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/pvalloc-overflow.cc b/test/sanitizer_common/TestCases/Linux/pvalloc-overflow.cpp
index 537c57e1a..c64624389 100644
--- a/test/sanitizer_common/TestCases/Linux/pvalloc-overflow.cc
+++ b/test/sanitizer_common/TestCases/Linux/pvalloc-overflow.cpp
@@ -35,7 +35,7 @@ int main(int argc, char *argv[]) {
}
// CHECK: {{ERROR: .*Sanitizer: pvalloc parameters overflow: size .* rounded up to system page size .* cannot be represented in type size_t}}
// CHECK: {{#0 .*pvalloc}}
- // CHECK: {{#1 .*main .*pvalloc-overflow.cc:}}
+ // CHECK: {{#1 .*main .*pvalloc-overflow.cpp:}}
// CHECK: {{SUMMARY: .*Sanitizer: pvalloc-overflow}}
// The NULL pointer is printed differently on different systems, while (long)0
diff --git a/test/sanitizer_common/TestCases/Linux/recv_msg_trunc.cc b/test/sanitizer_common/TestCases/Linux/recv_msg_trunc.cpp
index a806ce0f1..a806ce0f1 100644
--- a/test/sanitizer_common/TestCases/Linux/recv_msg_trunc.cc
+++ b/test/sanitizer_common/TestCases/Linux/recv_msg_trunc.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/sched_getparam.cc b/test/sanitizer_common/TestCases/Linux/sched_getparam.cpp
index 390c656fe..390c656fe 100644
--- a/test/sanitizer_common/TestCases/Linux/sched_getparam.cc
+++ b/test/sanitizer_common/TestCases/Linux/sched_getparam.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc b/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cpp
index d623ccabb..d623ccabb 100644
--- a/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc
+++ b/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/signal_segv_handler.cc b/test/sanitizer_common/TestCases/Linux/signal_segv_handler.cpp
index 9802617c2..9802617c2 100644
--- a/test/sanitizer_common/TestCases/Linux/signal_segv_handler.cc
+++ b/test/sanitizer_common/TestCases/Linux/signal_segv_handler.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cc b/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
index f7d8b4d64..f7d8b4d64 100644
--- a/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cc
+++ b/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/sysconf_interceptor_bypass_test.cc b/test/sanitizer_common/TestCases/Linux/sysconf_interceptor_bypass_test.cpp
index 0ffb346eb..0ffb346eb 100644
--- a/test/sanitizer_common/TestCases/Linux/sysconf_interceptor_bypass_test.cc
+++ b/test/sanitizer_common/TestCases/Linux/sysconf_interceptor_bypass_test.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/timerfd.cc b/test/sanitizer_common/TestCases/Linux/timerfd.cpp
index e7613bb1d..e7613bb1d 100644
--- a/test/sanitizer_common/TestCases/Linux/timerfd.cc
+++ b/test/sanitizer_common/TestCases/Linux/timerfd.cpp
diff --git a/test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cc b/test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cpp
index 641495508..641495508 100644
--- a/test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cc
+++ b/test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/asysctl.cc b/test/sanitizer_common/TestCases/NetBSD/asysctl.cpp
index acdfb17f2..acdfb17f2 100644
--- a/test/sanitizer_common/TestCases/NetBSD/asysctl.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/asysctl.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/cdb.cc b/test/sanitizer_common/TestCases/NetBSD/cdb.cpp
index 065623b7d..065623b7d 100644
--- a/test/sanitizer_common/TestCases/NetBSD/cdb.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/cdb.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/faccessat.cc b/test/sanitizer_common/TestCases/NetBSD/faccessat.cpp
index ae8be1962..ae8be1962 100644
--- a/test/sanitizer_common/TestCases/NetBSD/faccessat.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/faccessat.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/fparseln.cc b/test/sanitizer_common/TestCases/NetBSD/fparseln.cpp
index 8a71d5fcd..8a71d5fcd 100644
--- a/test/sanitizer_common/TestCases/NetBSD/fparseln.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/fparseln.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/funopen2.cc b/test/sanitizer_common/TestCases/NetBSD/funopen2.cpp
index 181ad03c9..181ad03c9 100644
--- a/test/sanitizer_common/TestCases/NetBSD/funopen2.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/funopen2.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/getgrouplist.cc b/test/sanitizer_common/TestCases/NetBSD/getgrouplist.cpp
index 49655542e..49655542e 100644
--- a/test/sanitizer_common/TestCases/NetBSD/getgrouplist.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/getgrouplist.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cc b/test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cpp
index 025ca9052..025ca9052 100644
--- a/test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/getvfsstat.cc b/test/sanitizer_common/TestCases/NetBSD/getvfsstat.cpp
index ea72e41ed..ea72e41ed 100644
--- a/test/sanitizer_common/TestCases/NetBSD/getvfsstat.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/getvfsstat.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/gid_from_group.cc b/test/sanitizer_common/TestCases/NetBSD/gid_from_group.cpp
index c6a9bc97c..c6a9bc97c 100644
--- a/test/sanitizer_common/TestCases/NetBSD/gid_from_group.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/gid_from_group.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/group_from_gid.cc b/test/sanitizer_common/TestCases/NetBSD/group_from_gid.cpp
index eb39da7b2..eb39da7b2 100644
--- a/test/sanitizer_common/TestCases/NetBSD/group_from_gid.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/group_from_gid.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/md2.cc b/test/sanitizer_common/TestCases/NetBSD/md2.cpp
index 7738aecdf..7738aecdf 100644
--- a/test/sanitizer_common/TestCases/NetBSD/md2.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/md2.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/md4.cc b/test/sanitizer_common/TestCases/NetBSD/md4.cpp
index a319e89a3..a319e89a3 100644
--- a/test/sanitizer_common/TestCases/NetBSD/md4.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/md4.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/md5.cc b/test/sanitizer_common/TestCases/NetBSD/md5.cpp
index aee216818..aee216818 100644
--- a/test/sanitizer_common/TestCases/NetBSD/md5.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/md5.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/mi_vector_hash.cc b/test/sanitizer_common/TestCases/NetBSD/mi_vector_hash.cpp
index 1f6c14848..1f6c14848 100644
--- a/test/sanitizer_common/TestCases/NetBSD/mi_vector_hash.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/mi_vector_hash.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/netent.cc b/test/sanitizer_common/TestCases/NetBSD/netent.cpp
index b574a9310..b574a9310 100644
--- a/test/sanitizer_common/TestCases/NetBSD/netent.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/netent.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/paccept.cc b/test/sanitizer_common/TestCases/NetBSD/paccept.cpp
index 7d2eb4e85..7d2eb4e85 100644
--- a/test/sanitizer_common/TestCases/NetBSD/paccept.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/paccept.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/protoent.cc b/test/sanitizer_common/TestCases/NetBSD/protoent.cpp
index c88c6f904..c88c6f904 100644
--- a/test/sanitizer_common/TestCases/NetBSD/protoent.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/protoent.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/rmd160.cc b/test/sanitizer_common/TestCases/NetBSD/rmd160.cpp
index 5b9ff0cb2..5b9ff0cb2 100644
--- a/test/sanitizer_common/TestCases/NetBSD/rmd160.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/rmd160.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/sha1.cc b/test/sanitizer_common/TestCases/NetBSD/sha1.cpp
index ee5060a66..ee5060a66 100644
--- a/test/sanitizer_common/TestCases/NetBSD/sha1.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/sha1.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/sha2.cc b/test/sanitizer_common/TestCases/NetBSD/sha2.cpp
index e905e3b61..e905e3b61 100644
--- a/test/sanitizer_common/TestCases/NetBSD/sha2.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/sha2.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/statvfs1.cc b/test/sanitizer_common/TestCases/NetBSD/statvfs1.cpp
index 40dfca37b..40dfca37b 100644
--- a/test/sanitizer_common/TestCases/NetBSD/statvfs1.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/statvfs1.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/strmode.cc b/test/sanitizer_common/TestCases/NetBSD/strmode.cpp
index b8d7d8ccf..b8d7d8ccf 100644
--- a/test/sanitizer_common/TestCases/NetBSD/strmode.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/strmode.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/strtoi.cc b/test/sanitizer_common/TestCases/NetBSD/strtoi.cpp
index 4d0d8b3ae..4d0d8b3ae 100644
--- a/test/sanitizer_common/TestCases/NetBSD/strtoi.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/strtoi.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/sysctlgetmibinfo.cc b/test/sanitizer_common/TestCases/NetBSD/sysctlgetmibinfo.cpp
index d81c1567f..d81c1567f 100644
--- a/test/sanitizer_common/TestCases/NetBSD/sysctlgetmibinfo.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/sysctlgetmibinfo.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/ttyent.cc b/test/sanitizer_common/TestCases/NetBSD/ttyent.cpp
index 73bc0a5da..73bc0a5da 100644
--- a/test/sanitizer_common/TestCases/NetBSD/ttyent.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/ttyent.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/uid_from_user.cc b/test/sanitizer_common/TestCases/NetBSD/uid_from_user.cpp
index 4cc1366aa..4cc1366aa 100644
--- a/test/sanitizer_common/TestCases/NetBSD/uid_from_user.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/uid_from_user.cpp
diff --git a/test/sanitizer_common/TestCases/NetBSD/user_from_uid.cc b/test/sanitizer_common/TestCases/NetBSD/user_from_uid.cpp
index bb098525a..bb098525a 100644
--- a/test/sanitizer_common/TestCases/NetBSD/user_from_uid.cc
+++ b/test/sanitizer_common/TestCases/NetBSD/user_from_uid.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/access.cc b/test/sanitizer_common/TestCases/Posix/access.cpp
index 8623645f8..8623645f8 100644
--- a/test/sanitizer_common/TestCases/Posix/access.cc
+++ b/test/sanitizer_common/TestCases/Posix/access.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/arc4random.cc b/test/sanitizer_common/TestCases/Posix/arc4random.cpp
index 0a983b58f..0a983b58f 100644
--- a/test/sanitizer_common/TestCases/Posix/arc4random.cc
+++ b/test/sanitizer_common/TestCases/Posix/arc4random.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc b/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp
index 94c50be16..94c50be16 100644
--- a/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc
+++ b/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/devname.cc b/test/sanitizer_common/TestCases/Posix/devname.cpp
index 1495f7d9d..1495f7d9d 100644
--- a/test/sanitizer_common/TestCases/Posix/devname.cc
+++ b/test/sanitizer_common/TestCases/Posix/devname.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/devname_r.cc b/test/sanitizer_common/TestCases/Posix/devname_r.cpp
index ae10a7662..ae10a7662 100644
--- a/test/sanitizer_common/TestCases/Posix/devname_r.cc
+++ b/test/sanitizer_common/TestCases/Posix/devname_r.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/dump_instruction_bytes.cc b/test/sanitizer_common/TestCases/Posix/dump_instruction_bytes.cpp
index f42802a34..f42802a34 100644
--- a/test/sanitizer_common/TestCases/Posix/dump_instruction_bytes.cc
+++ b/test/sanitizer_common/TestCases/Posix/dump_instruction_bytes.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/dump_registers.cc b/test/sanitizer_common/TestCases/Posix/dump_registers.cpp
index 07e87bedc..07e87bedc 100644
--- a/test/sanitizer_common/TestCases/Posix/dump_registers.cc
+++ b/test/sanitizer_common/TestCases/Posix/dump_registers.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/feof_fileno_ferror.cc b/test/sanitizer_common/TestCases/Posix/feof_fileno_ferror.cpp
index cfcf0e397..cfcf0e397 100644
--- a/test/sanitizer_common/TestCases/Posix/feof_fileno_ferror.cc
+++ b/test/sanitizer_common/TestCases/Posix/feof_fileno_ferror.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/fgetc_ungetc_getc.cc b/test/sanitizer_common/TestCases/Posix/fgetc_ungetc_getc.cpp
index f895cf194..f895cf194 100644
--- a/test/sanitizer_common/TestCases/Posix/fgetc_ungetc_getc.cc
+++ b/test/sanitizer_common/TestCases/Posix/fgetc_ungetc_getc.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/fgetln.cc b/test/sanitizer_common/TestCases/Posix/fgetln.cpp
index b1b466538..b1b466538 100644
--- a/test/sanitizer_common/TestCases/Posix/fgetln.cc
+++ b/test/sanitizer_common/TestCases/Posix/fgetln.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/fgets.cc b/test/sanitizer_common/TestCases/Posix/fgets.cpp
index 6a639f804..6a639f804 100644
--- a/test/sanitizer_common/TestCases/Posix/fgets.cc
+++ b/test/sanitizer_common/TestCases/Posix/fgets.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/fpe.cc b/test/sanitizer_common/TestCases/Posix/fpe.cpp
index c1e785a7a..c1e785a7a 100644
--- a/test/sanitizer_common/TestCases/Posix/fpe.cc
+++ b/test/sanitizer_common/TestCases/Posix/fpe.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/fputc_putc_putchar.cc b/test/sanitizer_common/TestCases/Posix/fputc_putc_putchar.cpp
index 7e786cd9e..7e786cd9e 100644
--- a/test/sanitizer_common/TestCases/Posix/fputc_putc_putchar.cc
+++ b/test/sanitizer_common/TestCases/Posix/fputc_putc_putchar.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/fputs_puts.cc b/test/sanitizer_common/TestCases/Posix/fputs_puts.cpp
index 21bb93aa4..21bb93aa4 100644
--- a/test/sanitizer_common/TestCases/Posix/fputs_puts.cc
+++ b/test/sanitizer_common/TestCases/Posix/fputs_puts.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/fseek.cc b/test/sanitizer_common/TestCases/Posix/fseek.cpp
index 26f3b849f..26f3b849f 100644
--- a/test/sanitizer_common/TestCases/Posix/fseek.cc
+++ b/test/sanitizer_common/TestCases/Posix/fseek.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/fts.cc b/test/sanitizer_common/TestCases/Posix/fts.cpp
index 79c41f7de..79c41f7de 100644
--- a/test/sanitizer_common/TestCases/Posix/fts.cc
+++ b/test/sanitizer_common/TestCases/Posix/fts.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/funopen.cc b/test/sanitizer_common/TestCases/Posix/funopen.cpp
index 7d3192488..7d3192488 100644
--- a/test/sanitizer_common/TestCases/Posix/funopen.cc
+++ b/test/sanitizer_common/TestCases/Posix/funopen.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/getc_unlocked.cc b/test/sanitizer_common/TestCases/Posix/getc_unlocked.cpp
index c4257d130..c4257d130 100644
--- a/test/sanitizer_common/TestCases/Posix/getc_unlocked.cc
+++ b/test/sanitizer_common/TestCases/Posix/getc_unlocked.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/getfsent.cc b/test/sanitizer_common/TestCases/Posix/getfsent.cpp
index 687a7a7d4..687a7a7d4 100644
--- a/test/sanitizer_common/TestCases/Posix/getfsent.cc
+++ b/test/sanitizer_common/TestCases/Posix/getfsent.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/getmntinfo.cc b/test/sanitizer_common/TestCases/Posix/getmntinfo.cpp
index 26c065d4d..26c065d4d 100644
--- a/test/sanitizer_common/TestCases/Posix/getmntinfo.cc
+++ b/test/sanitizer_common/TestCases/Posix/getmntinfo.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/getpass.cc b/test/sanitizer_common/TestCases/Posix/getpass.cpp
index bf198eff9..bf198eff9 100644
--- a/test/sanitizer_common/TestCases/Posix/getpass.cc
+++ b/test/sanitizer_common/TestCases/Posix/getpass.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/getpw_getgr.cc b/test/sanitizer_common/TestCases/Posix/getpw_getgr.cpp
index f4f431e7e..f4f431e7e 100644
--- a/test/sanitizer_common/TestCases/Posix/getpw_getgr.cc
+++ b/test/sanitizer_common/TestCases/Posix/getpw_getgr.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/getusershell.cc b/test/sanitizer_common/TestCases/Posix/getusershell.cpp
index c00d75f11..c00d75f11 100644
--- a/test/sanitizer_common/TestCases/Posix/getusershell.cc
+++ b/test/sanitizer_common/TestCases/Posix/getusershell.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/illegal_read_test.cc b/test/sanitizer_common/TestCases/Posix/illegal_read_test.cpp
index 9615d7132..9615d7132 100644
--- a/test/sanitizer_common/TestCases/Posix/illegal_read_test.cc
+++ b/test/sanitizer_common/TestCases/Posix/illegal_read_test.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/illegal_write_test.cc b/test/sanitizer_common/TestCases/Posix/illegal_write_test.cpp
index 13d1c6a06..13d1c6a06 100644
--- a/test/sanitizer_common/TestCases/Posix/illegal_write_test.cc
+++ b/test/sanitizer_common/TestCases/Posix/illegal_write_test.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/lstat.cc b/test/sanitizer_common/TestCases/Posix/lstat.cpp
index 01c2ea83d..01c2ea83d 100644
--- a/test/sanitizer_common/TestCases/Posix/lstat.cc
+++ b/test/sanitizer_common/TestCases/Posix/lstat.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/nl_langinfo.cc b/test/sanitizer_common/TestCases/Posix/nl_langinfo.cpp
index b8123542f..b8123542f 100644
--- a/test/sanitizer_common/TestCases/Posix/nl_langinfo.cc
+++ b/test/sanitizer_common/TestCases/Posix/nl_langinfo.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/popen.cc b/test/sanitizer_common/TestCases/Posix/popen.cpp
index 6bf6255a6..6bf6255a6 100644
--- a/test/sanitizer_common/TestCases/Posix/popen.cc
+++ b/test/sanitizer_common/TestCases/Posix/popen.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/posix_memalign-alignment.cc b/test/sanitizer_common/TestCases/Posix/posix_memalign-alignment.cpp
index 7729057d2..0b8e366d2 100644
--- a/test/sanitizer_common/TestCases/Posix/posix_memalign-alignment.cc
+++ b/test/sanitizer_common/TestCases/Posix/posix_memalign-alignment.cpp
@@ -35,7 +35,7 @@ int main(int argc, char **argv) {
int res = posix_memalign(&p, alignment, 100);
// CHECK: {{ERROR: .*Sanitizer: invalid alignment requested in posix_memalign}}
// CHECK: {{#0 .*posix_memalign}}
- // CHECK: {{#1 .*main .*posix_memalign-alignment.cc:}}[[@LINE-3]]
+ // CHECK: {{#1 .*main .*posix_memalign-alignment.cpp:}}[[@LINE-3]]
// CHECK: {{SUMMARY: .*Sanitizer: invalid-posix-memalign-alignment}}
// The NULL pointer is printed differently on different systems, while (long)0
diff --git a/test/sanitizer_common/TestCases/Posix/putc_putchar_unlocked.cc b/test/sanitizer_common/TestCases/Posix/putc_putchar_unlocked.cpp
index 12c35c220..12c35c220 100644
--- a/test/sanitizer_common/TestCases/Posix/putc_putchar_unlocked.cc
+++ b/test/sanitizer_common/TestCases/Posix/putc_putchar_unlocked.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/regex.cc b/test/sanitizer_common/TestCases/Posix/regex.cpp
index 3727f0132..3727f0132 100644
--- a/test/sanitizer_common/TestCases/Posix/regex.cc
+++ b/test/sanitizer_common/TestCases/Posix/regex.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/sanitizer_set_death_callback_test.cc b/test/sanitizer_common/TestCases/Posix/sanitizer_set_death_callback_test.cpp
index 9c5ae13cf..9c5ae13cf 100644
--- a/test/sanitizer_common/TestCases/Posix/sanitizer_set_death_callback_test.cc
+++ b/test/sanitizer_common/TestCases/Posix/sanitizer_set_death_callback_test.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cc b/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cpp
index cc7de193f..cc7de193f 100644
--- a/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cc
+++ b/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/setvbuf.cc b/test/sanitizer_common/TestCases/Posix/setvbuf.cpp
index bc29ba45d..bc29ba45d 100644
--- a/test/sanitizer_common/TestCases/Posix/setvbuf.cc
+++ b/test/sanitizer_common/TestCases/Posix/setvbuf.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/sl_add.cc b/test/sanitizer_common/TestCases/Posix/sl_add.cpp
index 4da70c788..4da70c788 100644
--- a/test/sanitizer_common/TestCases/Posix/sl_add.cc
+++ b/test/sanitizer_common/TestCases/Posix/sl_add.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/strlcat.cc b/test/sanitizer_common/TestCases/Posix/strlcat.cpp
index bdabada76..bdabada76 100644
--- a/test/sanitizer_common/TestCases/Posix/strlcat.cc
+++ b/test/sanitizer_common/TestCases/Posix/strlcat.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/strlcpy.cc b/test/sanitizer_common/TestCases/Posix/strlcpy.cpp
index 83053911d..83053911d 100644
--- a/test/sanitizer_common/TestCases/Posix/strlcpy.cc
+++ b/test/sanitizer_common/TestCases/Posix/strlcpy.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/strtonum.cc b/test/sanitizer_common/TestCases/Posix/strtonum.cpp
index 22346b2e1..22346b2e1 100644
--- a/test/sanitizer_common/TestCases/Posix/strtonum.cc
+++ b/test/sanitizer_common/TestCases/Posix/strtonum.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/sysctl.cc b/test/sanitizer_common/TestCases/Posix/sysctl.cpp
index 2cb8764f3..2cb8764f3 100644
--- a/test/sanitizer_common/TestCases/Posix/sysctl.cc
+++ b/test/sanitizer_common/TestCases/Posix/sysctl.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/vis.cc b/test/sanitizer_common/TestCases/Posix/vis.cpp
index 15f1bc949..15f1bc949 100644
--- a/test/sanitizer_common/TestCases/Posix/vis.cc
+++ b/test/sanitizer_common/TestCases/Posix/vis.cpp
diff --git a/test/sanitizer_common/TestCases/Posix/weak_hook_test.cc b/test/sanitizer_common/TestCases/Posix/weak_hook_test.cpp
index ba98f47b3..ba98f47b3 100644
--- a/test/sanitizer_common/TestCases/Posix/weak_hook_test.cc
+++ b/test/sanitizer_common/TestCases/Posix/weak_hook_test.cpp
diff --git a/test/sanitizer_common/TestCases/allocator_returns_null.cc b/test/sanitizer_common/TestCases/allocator_returns_null.cpp
index f5d991749..f5d991749 100644
--- a/test/sanitizer_common/TestCases/allocator_returns_null.cc
+++ b/test/sanitizer_common/TestCases/allocator_returns_null.cpp
diff --git a/test/sanitizer_common/TestCases/corelimit.cc b/test/sanitizer_common/TestCases/corelimit.cpp
index 2378a4cfd..2378a4cfd 100644
--- a/test/sanitizer_common/TestCases/corelimit.cc
+++ b/test/sanitizer_common/TestCases/corelimit.cpp
diff --git a/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cc b/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cpp
index b313df87c..694e07f15 100644
--- a/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cc
+++ b/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cpp
@@ -62,5 +62,5 @@ int main() {
}
#endif
// CHECK: NOT FOUND null: {{.*}}
-// CHECK-NEXT: FOUND callerpc: {{.*}}/get_module_and_offset_for_pc.cc.tmp {{.*}}
+// CHECK-NEXT: FOUND callerpc: {{.*}}/get_module_and_offset_for_pc.cpp.tmp {{.*}}
// CHECK-NEXT: FOUND foo: {{.*}}/get_module_and_offset_for_pc.so {{.*}}
diff --git a/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cc b/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp
index e01d416cb..e01d416cb 100644
--- a/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cc
+++ b/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp
diff --git a/test/sanitizer_common/TestCases/malloc_hook.cc b/test/sanitizer_common/TestCases/malloc_hook.cpp
index 7579ca2c3..7579ca2c3 100644
--- a/test/sanitizer_common/TestCases/malloc_hook.cc
+++ b/test/sanitizer_common/TestCases/malloc_hook.cpp
diff --git a/test/sanitizer_common/TestCases/options-help.cc b/test/sanitizer_common/TestCases/options-help.cpp
index 913377db7..913377db7 100644
--- a/test/sanitizer_common/TestCases/options-help.cc
+++ b/test/sanitizer_common/TestCases/options-help.cpp
diff --git a/test/sanitizer_common/TestCases/options-include.cc b/test/sanitizer_common/TestCases/options-include.cpp
index 3d9127b7f..075c6737c 100644
--- a/test/sanitizer_common/TestCases/options-include.cc
+++ b/test/sanitizer_common/TestCases/options-include.cpp
@@ -4,7 +4,7 @@
// RUN: echo "symbolize=1" > %t.options1.txt
// RUN: echo "include='%t.options2.txt'" >>%t.options1.txt
// RUN: echo "help=1" >%t.options2.txt
-// RUN: echo "help=1" >%t.options.options-include.cc.tmp
+// RUN: echo "help=1" >%t.options.options-include.cpp.tmp
// RUN: cat %t.options1.txt
// RUN: cat %t.options2.txt
diff --git a/test/sanitizer_common/TestCases/options-invalid.cc b/test/sanitizer_common/TestCases/options-invalid.cpp
index 572c4912c..572c4912c 100644
--- a/test/sanitizer_common/TestCases/options-invalid.cc
+++ b/test/sanitizer_common/TestCases/options-invalid.cpp
diff --git a/test/sanitizer_common/TestCases/print-stack-trace.cc b/test/sanitizer_common/TestCases/print-stack-trace.cpp
index e4b8ad2bb..0c0bdc03d 100644
--- a/test/sanitizer_common/TestCases/print-stack-trace.cc
+++ b/test/sanitizer_common/TestCases/print-stack-trace.cpp
@@ -19,11 +19,11 @@ int main() {
return 0;
}
// CHECK: {{ #0 0x.* in __sanitizer_print_stack_trace}}
-// CHECK: {{ #1 0x.* in FooBarBaz(\(\))? .*}}print-stack-trace.cc:[[@LINE-8]]
-// CHECK: {{ #2 0x.* in main.*}}print-stack-trace.cc:[[@LINE-5]]
+// CHECK: {{ #1 0x.* in FooBarBaz(\(\))? .*}}print-stack-trace.cpp:[[@LINE-8]]
+// CHECK: {{ #2 0x.* in main.*}}print-stack-trace.cpp:[[@LINE-5]]
// CUSTOM: frame1_lineno[[@LINE-11]]
// CUSTOM: frame2_lineno[[@LINE-8]]
// NOINLINE: #0 0x{{.*}} in __sanitizer_print_stack_trace
-// NOINLINE: #1 0x{{.*}} in main{{.*}}print-stack-trace.cc:[[@LINE-15]]
+// NOINLINE: #1 0x{{.*}} in main{{.*}}print-stack-trace.cpp:[[@LINE-15]]
diff --git a/test/sanitizer_common/TestCases/pthread_mutexattr_get.cc b/test/sanitizer_common/TestCases/pthread_mutexattr_get.cpp
index 742ae72c4..742ae72c4 100644
--- a/test/sanitizer_common/TestCases/pthread_mutexattr_get.cc
+++ b/test/sanitizer_common/TestCases/pthread_mutexattr_get.cpp
diff --git a/test/sanitizer_common/TestCases/reallocarray-overflow.cc b/test/sanitizer_common/TestCases/reallocarray-overflow.cpp
index 245a5b47a..245a5b47a 100644
--- a/test/sanitizer_common/TestCases/reallocarray-overflow.cc
+++ b/test/sanitizer_common/TestCases/reallocarray-overflow.cpp
diff --git a/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter.cc b/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter.cpp
index 58a64d1a9..58a64d1a9 100644
--- a/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter.cc
+++ b/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter.cpp
diff --git a/test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cc b/test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cpp
index 9604da222..9604da222 100644
--- a/test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cc
+++ b/test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cpp
diff --git a/test/sanitizer_common/TestCases/sanitizer_coverage_stack_depth.cc b/test/sanitizer_common/TestCases/sanitizer_coverage_stack_depth.cpp
index 90959ef5b..90959ef5b 100644
--- a/test/sanitizer_common/TestCases/sanitizer_coverage_stack_depth.cc
+++ b/test/sanitizer_common/TestCases/sanitizer_coverage_stack_depth.cpp
diff --git a/test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cc b/test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cpp
index daa994c81..daa994c81 100644
--- a/test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cc
+++ b/test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cpp
diff --git a/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cc b/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cpp
index 7a2eca8bc..3316c5d72 100644
--- a/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cc
+++ b/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cpp
@@ -70,5 +70,5 @@ int baz() {
//
// CHECK-SANCOV: Ignoring {{.*}}_1.so and its coverage because __sanitizer_cov* functions were not found.
// CHECK-SANCOV: Ignoring {{.*}}_2.so and its coverage because __sanitizer_cov* functions were not found.
-// CHECK-SANCOV-NEXT: sanitizer_coverage_trace_pc_guard-dso.cc:[[@LINE-42]] foo
-// CHECK-SANCOV-NEXT: sanitizer_coverage_trace_pc_guard-dso.cc:[[@LINE-38]] main
+// CHECK-SANCOV-NEXT: sanitizer_coverage_trace_pc_guard-dso.cpp:[[@LINE-42]] foo
+// CHECK-SANCOV-NEXT: sanitizer_coverage_trace_pc_guard-dso.cpp:[[@LINE-38]] main
diff --git a/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-init.cc b/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-init.cpp
index b92a513b6..b92a513b6 100644
--- a/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-init.cc
+++ b/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-init.cpp
diff --git a/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cc b/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
index 5e01a803b..b151fc247 100644
--- a/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cc
+++ b/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
@@ -35,7 +35,7 @@ int main() {
// CHECK-NEXT: foo
// CHECK-NEXT: SanitizerCoverage: ./sanitizer_coverage_trace_pc_guard.{{.*}}.sancov: 2 PCs written
//
-// CHECK-SANCOV: sanitizer_coverage_trace_pc_guard.cc:[[@LINE-16]] foo
-// CHECK-SANCOV-NEXT: sanitizer_coverage_trace_pc_guard.cc:[[@LINE-12]] main
+// CHECK-SANCOV: sanitizer_coverage_trace_pc_guard.cpp:[[@LINE-16]] foo
+// CHECK-SANCOV-NEXT: sanitizer_coverage_trace_pc_guard.cpp:[[@LINE-12]] main
//
// CHECK-NOCOV-NOT: SanitizerCoverage
diff --git a/test/sanitizer_common/TestCases/symbolize_pc.cc b/test/sanitizer_common/TestCases/symbolize_pc.cpp
index 16a81f1bb..4cea49f33 100644
--- a/test/sanitizer_common/TestCases/symbolize_pc.cc
+++ b/test/sanitizer_common/TestCases/symbolize_pc.cpp
@@ -48,8 +48,8 @@ int main() {
// CHECK: PARTIAL '0x{{.*}}'
SymbolizeSmallBuffer();
- // CHECK: FIRST_FORMAT 0x{{.*}} in main symbolize_pc.cc:[[@LINE+2]]
- // CHECK: SECOND_FORMAT FUNC:main LINE:[[@LINE+1]] FILE:symbolize_pc.cc
+ // CHECK: FIRST_FORMAT 0x{{.*}} in main symbolize_pc.cpp:[[@LINE+2]]
+ // CHECK: SECOND_FORMAT FUNC:main LINE:[[@LINE+1]] FILE:symbolize_pc.cpp
SymbolizeCaller();
// CHECK: GLOBAL: GLOBAL_VAR_ABC
diff --git a/test/sanitizer_common/TestCases/symbolize_pc_inline.cc b/test/sanitizer_common/TestCases/symbolize_pc_inline.cpp
index 9589a3af0..956710315 100644
--- a/test/sanitizer_common/TestCases/symbolize_pc_inline.cc
+++ b/test/sanitizer_common/TestCases/symbolize_pc_inline.cpp
@@ -18,15 +18,15 @@ __attribute__((noinline)) static void Symbolize() {
printf("%s\n", p);
}
-// CHECK-NOINLINE: {{0x[0-9a-f]+}} in main symbolize_pc_inline.cc:[[@LINE+2]]
-// CHECK: [[ADDR:0x[0-9a-f]+]] in C2 symbolize_pc_inline.cc:[[@LINE+1]]
+// CHECK-NOINLINE: {{0x[0-9a-f]+}} in main symbolize_pc_inline.cpp:[[@LINE+2]]
+// CHECK: [[ADDR:0x[0-9a-f]+]] in C2 symbolize_pc_inline.cpp:[[@LINE+1]]
static inline void C2() { Symbolize(); }
-// CHECK: [[ADDR]] in C3 symbolize_pc_inline.cc:[[@LINE+1]]
+// CHECK: [[ADDR]] in C3 symbolize_pc_inline.cpp:[[@LINE+1]]
static inline void C3() { C2(); }
-// CHECK: [[ADDR]] in C4 symbolize_pc_inline.cc:[[@LINE+1]]
+// CHECK: [[ADDR]] in C4 symbolize_pc_inline.cpp:[[@LINE+1]]
static inline void C4() { C3(); }
-// CHECK: [[ADDR]] in main symbolize_pc_inline.cc:[[@LINE+1]]
+// CHECK: [[ADDR]] in main symbolize_pc_inline.cpp:[[@LINE+1]]
int main() { C4(); }
diff --git a/test/sanitizer_common/TestCases/symbolize_stack.cc b/test/sanitizer_common/TestCases/symbolize_stack.cpp
index d6ec49b40..d6ec49b40 100644
--- a/test/sanitizer_common/TestCases/symbolize_stack.cc
+++ b/test/sanitizer_common/TestCases/symbolize_stack.cpp