From: Fangrui Song Date: Fri, 2 Aug 2019 05:49:58 +0000 (+0000) Subject: compiler-rt: Rename .cc file in test/xray to .cpp X-Git-Tag: llvmorg-11-init~12976 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6db8c59f210af60d882f7aedc7c9dc95d41d9696;p=platform%2Fupstream%2Fllvm.git compiler-rt: Rename .cc file in test/xray to .cpp Like r367463, but for test/xray. Update test/xray/lit.cfg.py config.suffixes to remove .cc (we actually don't have .c tests now) llvm-svn: 367652 --- diff --git a/compiler-rt/test/xray/TestCases/Posix/always-never-instrument.cc b/compiler-rt/test/xray/TestCases/Posix/always-never-instrument.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/always-never-instrument.cc rename to compiler-rt/test/xray/TestCases/Posix/always-never-instrument.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/arg1-arg0-logging.cc b/compiler-rt/test/xray/TestCases/Posix/arg1-arg0-logging.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/arg1-arg0-logging.cc rename to compiler-rt/test/xray/TestCases/Posix/arg1-arg0-logging.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/arg1-logger.cc b/compiler-rt/test/xray/TestCases/Posix/arg1-logger.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/arg1-logger.cc rename to compiler-rt/test/xray/TestCases/Posix/arg1-logger.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/arg1-logging-implicit-this.cc b/compiler-rt/test/xray/TestCases/Posix/arg1-logging-implicit-this.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/arg1-logging-implicit-this.cc rename to compiler-rt/test/xray/TestCases/Posix/arg1-logging-implicit-this.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/argv0-log-file-name.cc b/compiler-rt/test/xray/TestCases/Posix/argv0-log-file-name.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/argv0-log-file-name.cc rename to compiler-rt/test/xray/TestCases/Posix/argv0-log-file-name.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/basic-filtering.cc b/compiler-rt/test/xray/TestCases/Posix/basic-filtering.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/basic-filtering.cc rename to compiler-rt/test/xray/TestCases/Posix/basic-filtering.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/c-test.cc b/compiler-rt/test/xray/TestCases/Posix/c-test.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/c-test.cc rename to compiler-rt/test/xray/TestCases/Posix/c-test.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/clang-no-xray-instrument.cc b/compiler-rt/test/xray/TestCases/Posix/clang-no-xray-instrument.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/clang-no-xray-instrument.cc rename to compiler-rt/test/xray/TestCases/Posix/clang-no-xray-instrument.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/common-trampoline-alignment.cc b/compiler-rt/test/xray/TestCases/Posix/common-trampoline-alignment.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/common-trampoline-alignment.cc rename to compiler-rt/test/xray/TestCases/Posix/common-trampoline-alignment.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/coverage-sample.cc b/compiler-rt/test/xray/TestCases/Posix/coverage-sample.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/coverage-sample.cc rename to compiler-rt/test/xray/TestCases/Posix/coverage-sample.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/custom-event-handler-alignment.cc b/compiler-rt/test/xray/TestCases/Posix/custom-event-handler-alignment.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/custom-event-handler-alignment.cc rename to compiler-rt/test/xray/TestCases/Posix/custom-event-handler-alignment.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/custom-event-logging.cc b/compiler-rt/test/xray/TestCases/Posix/custom-event-logging.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/custom-event-logging.cc rename to compiler-rt/test/xray/TestCases/Posix/custom-event-logging.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/fdr-mode-inmemory.cc b/compiler-rt/test/xray/TestCases/Posix/fdr-mode-inmemory.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/fdr-mode-inmemory.cc rename to compiler-rt/test/xray/TestCases/Posix/fdr-mode-inmemory.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/fdr-mode-multiple.cc b/compiler-rt/test/xray/TestCases/Posix/fdr-mode-multiple.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/fdr-mode-multiple.cc rename to compiler-rt/test/xray/TestCases/Posix/fdr-mode-multiple.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cc b/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/fdr-mode.cc rename to compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/fdr-reinit.cc b/compiler-rt/test/xray/TestCases/Posix/fdr-reinit.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/fdr-reinit.cc rename to compiler-rt/test/xray/TestCases/Posix/fdr-reinit.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/fdr-single-thread.cc b/compiler-rt/test/xray/TestCases/Posix/fdr-single-thread.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/fdr-single-thread.cc rename to compiler-rt/test/xray/TestCases/Posix/fdr-single-thread.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/fdr-thread-order.cc b/compiler-rt/test/xray/TestCases/Posix/fdr-thread-order.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/fdr-thread-order.cc rename to compiler-rt/test/xray/TestCases/Posix/fdr-thread-order.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/fixedsize-logging.cc b/compiler-rt/test/xray/TestCases/Posix/fixedsize-logging.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/fixedsize-logging.cc rename to compiler-rt/test/xray/TestCases/Posix/fixedsize-logging.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc b/compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc rename to compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/func-id-utils.cc b/compiler-rt/test/xray/TestCases/Posix/func-id-utils.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/func-id-utils.cc rename to compiler-rt/test/xray/TestCases/Posix/func-id-utils.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/logging-modes.cc b/compiler-rt/test/xray/TestCases/Posix/logging-modes.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/logging-modes.cc rename to compiler-rt/test/xray/TestCases/Posix/logging-modes.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/optional-inmemory-log.cc b/compiler-rt/test/xray/TestCases/Posix/optional-inmemory-log.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/optional-inmemory-log.cc rename to compiler-rt/test/xray/TestCases/Posix/optional-inmemory-log.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/patching-unpatching.cc b/compiler-rt/test/xray/TestCases/Posix/patching-unpatching.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/patching-unpatching.cc rename to compiler-rt/test/xray/TestCases/Posix/patching-unpatching.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/pic_test.cc b/compiler-rt/test/xray/TestCases/Posix/pic_test.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/pic_test.cc rename to compiler-rt/test/xray/TestCases/Posix/pic_test.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/profiling-multi-threaded.cc b/compiler-rt/test/xray/TestCases/Posix/profiling-multi-threaded.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/profiling-multi-threaded.cc rename to compiler-rt/test/xray/TestCases/Posix/profiling-multi-threaded.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/profiling-single-threaded.cc b/compiler-rt/test/xray/TestCases/Posix/profiling-single-threaded.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/profiling-single-threaded.cc rename to compiler-rt/test/xray/TestCases/Posix/profiling-single-threaded.cpp diff --git a/compiler-rt/test/xray/TestCases/Posix/quiet-start.cc b/compiler-rt/test/xray/TestCases/Posix/quiet-start.cpp similarity index 100% rename from compiler-rt/test/xray/TestCases/Posix/quiet-start.cc rename to compiler-rt/test/xray/TestCases/Posix/quiet-start.cpp diff --git a/compiler-rt/test/xray/lit.cfg.py b/compiler-rt/test/xray/lit.cfg.py index cc4cc21..782d5a8 100644 --- a/compiler-rt/test/xray/lit.cfg.py +++ b/compiler-rt/test/xray/lit.cfg.py @@ -51,7 +51,7 @@ config.substitutions.append( % (libdl_flag, config.compiler_rt_libdir, config.target_suffix))) # Default test suffixes. -config.suffixes = ['.c', '.cc', '.cpp'] +config.suffixes = ['.c', '.cpp'] if config.host_os not in ['FreeBSD', 'Linux', 'NetBSD', 'OpenBSD']: config.unsupported = True