projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8557f17
)
compiler-rt: Rename .cc file in test/lsan to .cpp
author
Fangrui Song
<maskray@google.com>
Mon, 5 Aug 2019 07:04:42 +0000
(07:04 +0000)
committer
Fangrui Song
<maskray@google.com>
Mon, 5 Aug 2019 07:04:42 +0000
(07:04 +0000)
Like r367463, but for test/lsan.
llvm-svn: 367803
37 files changed:
compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/Linux/fork.cpp
[moved from
compiler-rt/test/lsan/TestCases/Linux/fork.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/Linux/fork_and_leak.cpp
[moved from
compiler-rt/test/lsan/TestCases/Linux/fork_and_leak.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/Linux/fork_threaded.cpp
[moved from
compiler-rt/test/lsan/TestCases/Linux/fork_threaded.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/Linux/log-path_test.cpp
[moved from
compiler-rt/test/lsan/TestCases/Linux/log-path_test.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/Linux/use_tls_dynamic.cpp
[moved from
compiler-rt/test/lsan/TestCases/Linux/use_tls_dynamic.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cpp
[moved from
compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_static.cpp
[moved from
compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_static.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/Linux/use_tls_static.cpp
[moved from
compiler-rt/test/lsan/TestCases/Linux/use_tls_static.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/default_options.cpp
[moved from
compiler-rt/test/lsan/TestCases/default_options.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/disabler.cpp
[moved from
compiler-rt/test/lsan/TestCases/disabler.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/do_leak_check_override.cpp
[moved from
compiler-rt/test/lsan/TestCases/do_leak_check_override.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/high_allocator_contention.cpp
[moved from
compiler-rt/test/lsan/TestCases/high_allocator_contention.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/ignore_object_errors.cpp
[moved from
compiler-rt/test/lsan/TestCases/ignore_object_errors.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/large_allocation_leak.cpp
[moved from
compiler-rt/test/lsan/TestCases/large_allocation_leak.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/leak_check_at_exit.cpp
[moved from
compiler-rt/test/lsan/TestCases/leak_check_at_exit.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/leak_check_before_thread_started.cpp
[moved from
compiler-rt/test/lsan/TestCases/leak_check_before_thread_started.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/link_turned_off.cpp
[moved from
compiler-rt/test/lsan/TestCases/link_turned_off.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/many_tls_keys.cpp
[moved from
compiler-rt/test/lsan/TestCases/many_tls_keys.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/new_array_with_dtor_0.cpp
[moved from
compiler-rt/test/lsan/TestCases/new_array_with_dtor_0.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/pointer_to_self.cpp
[moved from
compiler-rt/test/lsan/TestCases/pointer_to_self.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/print_suppressions.cpp
[moved from
compiler-rt/test/lsan/TestCases/print_suppressions.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/recoverable_leak_check.cpp
[moved from
compiler-rt/test/lsan/TestCases/recoverable_leak_check.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/register_root_region.cpp
[moved from
compiler-rt/test/lsan/TestCases/register_root_region.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/stale_stack_leak.cpp
[moved from
compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/strace_test.cpp
[moved from
compiler-rt/test/lsan/TestCases/strace_test.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/suppressions_default.cpp
[moved from
compiler-rt/test/lsan/TestCases/suppressions_default.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/suppressions_file.cpp
[moved from
compiler-rt/test/lsan/TestCases/suppressions_file.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/swapcontext.cpp
[moved from
compiler-rt/test/lsan/TestCases/swapcontext.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/use_after_return.cpp
[moved from
compiler-rt/test/lsan/TestCases/use_after_return.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/use_globals_initialized.cpp
[moved from
compiler-rt/test/lsan/TestCases/use_globals_initialized.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/use_globals_uninitialized.cpp
[moved from
compiler-rt/test/lsan/TestCases/use_globals_uninitialized.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/use_poisoned_asan.cpp
[moved from
compiler-rt/test/lsan/TestCases/use_poisoned_asan.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/use_registers.cpp
[moved from
compiler-rt/test/lsan/TestCases/use_registers.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/use_stacks.cpp
[moved from
compiler-rt/test/lsan/TestCases/use_stacks.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/use_stacks_threaded.cpp
[moved from
compiler-rt/test/lsan/TestCases/use_stacks_threaded.cc
with 100% similarity]
patch
|
blob
|
history
compiler-rt/test/lsan/TestCases/use_unaligned.cpp
[moved from
compiler-rt/test/lsan/TestCases/use_unaligned.cc
with 100% similarity]
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
b/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
index
ad608f8
..
ad90605
100755
(executable)
--- a/
compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
+++ b/
compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
@@
-105,7
+105,7
@@
run_lint ${MSAN_RTL_LINT_FILTER} ${MSAN_RTL}/*.cpp \
LSAN_RTL=${COMPILER_RT}/lib/lsan
run_lint ${LSAN_RTL_LINT_FILTER} ${LSAN_RTL}/*.cpp \
${LSAN_RTL}/*.h &
-run_lint ${LSAN_LIT_TEST_LINT_FILTER} ${LIT_TESTS}/lsan/*/*.c
c
&
+run_lint ${LSAN_LIT_TEST_LINT_FILTER} ${LIT_TESTS}/lsan/*/*.c
pp
&
# DFSan
DFSAN_RTL=${COMPILER_RT}/lib/dfsan
diff --git
a/compiler-rt/test/lsan/TestCases/Linux/fork.cc
b/compiler-rt/test/lsan/TestCases/Linux/fork.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/Linux/fork.cc
rename to
compiler-rt/test/lsan/TestCases/Linux/fork.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/Linux/fork_and_leak.cc
b/compiler-rt/test/lsan/TestCases/Linux/fork_and_leak.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/Linux/fork_and_leak.cc
rename to
compiler-rt/test/lsan/TestCases/Linux/fork_and_leak.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/Linux/fork_threaded.cc
b/compiler-rt/test/lsan/TestCases/Linux/fork_threaded.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/Linux/fork_threaded.cc
rename to
compiler-rt/test/lsan/TestCases/Linux/fork_threaded.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/Linux/log-path_test.cc
b/compiler-rt/test/lsan/TestCases/Linux/log-path_test.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/Linux/log-path_test.cc
rename to
compiler-rt/test/lsan/TestCases/Linux/log-path_test.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/Linux/use_tls_dynamic.cc
b/compiler-rt/test/lsan/TestCases/Linux/use_tls_dynamic.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/Linux/use_tls_dynamic.cc
rename to
compiler-rt/test/lsan/TestCases/Linux/use_tls_dynamic.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cc
b/compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cc
rename to
compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_static.cc
b/compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_static.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_static.cc
rename to
compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_static.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/Linux/use_tls_static.cc
b/compiler-rt/test/lsan/TestCases/Linux/use_tls_static.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/Linux/use_tls_static.cc
rename to
compiler-rt/test/lsan/TestCases/Linux/use_tls_static.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/default_options.cc
b/compiler-rt/test/lsan/TestCases/default_options.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/default_options.cc
rename to
compiler-rt/test/lsan/TestCases/default_options.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/disabler.cc
b/compiler-rt/test/lsan/TestCases/disabler.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/disabler.cc
rename to
compiler-rt/test/lsan/TestCases/disabler.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/do_leak_check_override.cc
b/compiler-rt/test/lsan/TestCases/do_leak_check_override.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/do_leak_check_override.cc
rename to
compiler-rt/test/lsan/TestCases/do_leak_check_override.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/high_allocator_contention.cc
b/compiler-rt/test/lsan/TestCases/high_allocator_contention.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/high_allocator_contention.cc
rename to
compiler-rt/test/lsan/TestCases/high_allocator_contention.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/ignore_object_errors.cc
b/compiler-rt/test/lsan/TestCases/ignore_object_errors.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/ignore_object_errors.cc
rename to
compiler-rt/test/lsan/TestCases/ignore_object_errors.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/large_allocation_leak.cc
b/compiler-rt/test/lsan/TestCases/large_allocation_leak.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/large_allocation_leak.cc
rename to
compiler-rt/test/lsan/TestCases/large_allocation_leak.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/leak_check_at_exit.cc
b/compiler-rt/test/lsan/TestCases/leak_check_at_exit.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/leak_check_at_exit.cc
rename to
compiler-rt/test/lsan/TestCases/leak_check_at_exit.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/leak_check_before_thread_started.cc
b/compiler-rt/test/lsan/TestCases/leak_check_before_thread_started.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/leak_check_before_thread_started.cc
rename to
compiler-rt/test/lsan/TestCases/leak_check_before_thread_started.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/link_turned_off.cc
b/compiler-rt/test/lsan/TestCases/link_turned_off.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/link_turned_off.cc
rename to
compiler-rt/test/lsan/TestCases/link_turned_off.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/many_tls_keys.cc
b/compiler-rt/test/lsan/TestCases/many_tls_keys.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/many_tls_keys.cc
rename to
compiler-rt/test/lsan/TestCases/many_tls_keys.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/new_array_with_dtor_0.cc
b/compiler-rt/test/lsan/TestCases/new_array_with_dtor_0.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/new_array_with_dtor_0.cc
rename to
compiler-rt/test/lsan/TestCases/new_array_with_dtor_0.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/pointer_to_self.cc
b/compiler-rt/test/lsan/TestCases/pointer_to_self.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/pointer_to_self.cc
rename to
compiler-rt/test/lsan/TestCases/pointer_to_self.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/print_suppressions.cc
b/compiler-rt/test/lsan/TestCases/print_suppressions.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/print_suppressions.cc
rename to
compiler-rt/test/lsan/TestCases/print_suppressions.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/recoverable_leak_check.cc
b/compiler-rt/test/lsan/TestCases/recoverable_leak_check.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/recoverable_leak_check.cc
rename to
compiler-rt/test/lsan/TestCases/recoverable_leak_check.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/register_root_region.cc
b/compiler-rt/test/lsan/TestCases/register_root_region.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/register_root_region.cc
rename to
compiler-rt/test/lsan/TestCases/register_root_region.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
b/compiler-rt/test/lsan/TestCases/stale_stack_leak.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
rename to
compiler-rt/test/lsan/TestCases/stale_stack_leak.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/strace_test.cc
b/compiler-rt/test/lsan/TestCases/strace_test.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/strace_test.cc
rename to
compiler-rt/test/lsan/TestCases/strace_test.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/suppressions_default.cc
b/compiler-rt/test/lsan/TestCases/suppressions_default.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/suppressions_default.cc
rename to
compiler-rt/test/lsan/TestCases/suppressions_default.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/suppressions_file.cc
b/compiler-rt/test/lsan/TestCases/suppressions_file.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/suppressions_file.cc
rename to
compiler-rt/test/lsan/TestCases/suppressions_file.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/swapcontext.cc
b/compiler-rt/test/lsan/TestCases/swapcontext.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/swapcontext.cc
rename to
compiler-rt/test/lsan/TestCases/swapcontext.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/use_after_return.cc
b/compiler-rt/test/lsan/TestCases/use_after_return.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/use_after_return.cc
rename to
compiler-rt/test/lsan/TestCases/use_after_return.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/use_globals_initialized.cc
b/compiler-rt/test/lsan/TestCases/use_globals_initialized.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/use_globals_initialized.cc
rename to
compiler-rt/test/lsan/TestCases/use_globals_initialized.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/use_globals_uninitialized.cc
b/compiler-rt/test/lsan/TestCases/use_globals_uninitialized.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/use_globals_uninitialized.cc
rename to
compiler-rt/test/lsan/TestCases/use_globals_uninitialized.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/use_poisoned_asan.cc
b/compiler-rt/test/lsan/TestCases/use_poisoned_asan.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/use_poisoned_asan.cc
rename to
compiler-rt/test/lsan/TestCases/use_poisoned_asan.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/use_registers.cc
b/compiler-rt/test/lsan/TestCases/use_registers.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/use_registers.cc
rename to
compiler-rt/test/lsan/TestCases/use_registers.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/use_stacks.cc
b/compiler-rt/test/lsan/TestCases/use_stacks.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/use_stacks.cc
rename to
compiler-rt/test/lsan/TestCases/use_stacks.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/use_stacks_threaded.cc
b/compiler-rt/test/lsan/TestCases/use_stacks_threaded.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/use_stacks_threaded.cc
rename to
compiler-rt/test/lsan/TestCases/use_stacks_threaded.cpp
diff --git
a/compiler-rt/test/lsan/TestCases/use_unaligned.cc
b/compiler-rt/test/lsan/TestCases/use_unaligned.cpp
similarity index 100%
rename from
compiler-rt/test/lsan/TestCases/use_unaligned.cc
rename to
compiler-rt/test/lsan/TestCases/use_unaligned.cpp