[compiler-rt] r367589 - Remove a few straggler ".cc"s in compiler-rt/lib
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 1 10:53:25 PDT 2019
Author: nico
Date: Thu Aug 1 10:53:25 2019
New Revision: 367589
URL: http://llvm.org/viewvc/llvm-project?rev=367589&view=rev
Log:
Remove a few straggler ".cc"s in compiler-rt/lib
Modified:
compiler-rt/trunk/lib/asan/asan_interceptors_memintrinsics.h
compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py
compiler-rt/trunk/lib/gwp_asan/tests/alignment.cpp
compiler-rt/trunk/lib/gwp_asan/tests/backtrace.cpp
compiler-rt/trunk/lib/gwp_asan/tests/basic.cpp
compiler-rt/trunk/lib/gwp_asan/tests/slot_reuse.cpp
compiler-rt/trunk/lib/gwp_asan/tests/thread_contention.cpp
compiler-rt/trunk/lib/msan/msan.h
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_solaris.h
compiler-rt/trunk/lib/tsan/rtl/tsan_interface_java.h
compiler-rt/trunk/lib/ubsan/ubsan_type_hash.cpp
Modified: compiler-rt/trunk/lib/asan/asan_interceptors_memintrinsics.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_interceptors_memintrinsics.h?rev=367589&r1=367588&r2=367589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_interceptors_memintrinsics.h (original)
+++ compiler-rt/trunk/lib/asan/asan_interceptors_memintrinsics.h Thu Aug 1 10:53:25 2019
@@ -8,7 +8,7 @@
//
// This file is a part of AddressSanitizer, an address sanity checker.
//
-// ASan-private header for asan_memintrin.cc
+// ASan-private header for asan_interceptors_memintrinsics.cpp
//===---------------------------------------------------------------------===//
#ifndef ASAN_MEMINTRIN_H
#define ASAN_MEMINTRIN_H
Modified: compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py?rev=367589&r1=367588&r2=367589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py (original)
+++ compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py Thu Aug 1 10:53:25 2019
@@ -41,7 +41,7 @@ def fix_filename(file_name):
if fix_filename_patterns:
for path_to_cut in fix_filename_patterns:
file_name = re.sub('.*' + path_to_cut, '', file_name)
- file_name = re.sub('.*asan_[a-z_]*.cc:[0-9]*', '_asan_rtl_', file_name)
+ file_name = re.sub('.*asan_[a-z_]*.(cc|cpp):[0-9]*', '_asan_rtl_', file_name)
file_name = re.sub('.*crtstuff.c:0', '???:0', file_name)
return file_name
Modified: compiler-rt/trunk/lib/gwp_asan/tests/alignment.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/gwp_asan/tests/alignment.cpp?rev=367589&r1=367588&r2=367589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/gwp_asan/tests/alignment.cpp (original)
+++ compiler-rt/trunk/lib/gwp_asan/tests/alignment.cpp Thu Aug 1 10:53:25 2019
@@ -1,4 +1,4 @@
-//===-- alignment.cc --------------------------------------------*- C++ -*-===//
+//===-- alignment.cpp -------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Modified: compiler-rt/trunk/lib/gwp_asan/tests/backtrace.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/gwp_asan/tests/backtrace.cpp?rev=367589&r1=367588&r2=367589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/gwp_asan/tests/backtrace.cpp (original)
+++ compiler-rt/trunk/lib/gwp_asan/tests/backtrace.cpp Thu Aug 1 10:53:25 2019
@@ -1,4 +1,4 @@
-//===-- backtrace.cc --------------------------------------------*- C++ -*-===//
+//===-- backtrace.cpp -------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Modified: compiler-rt/trunk/lib/gwp_asan/tests/basic.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/gwp_asan/tests/basic.cpp?rev=367589&r1=367588&r2=367589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/gwp_asan/tests/basic.cpp (original)
+++ compiler-rt/trunk/lib/gwp_asan/tests/basic.cpp Thu Aug 1 10:53:25 2019
@@ -1,4 +1,4 @@
-//===-- basic.cc ------------------------------------------------*- C++ -*-===//
+//===-- basic.cpp -----------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Modified: compiler-rt/trunk/lib/gwp_asan/tests/slot_reuse.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/gwp_asan/tests/slot_reuse.cpp?rev=367589&r1=367588&r2=367589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/gwp_asan/tests/slot_reuse.cpp (original)
+++ compiler-rt/trunk/lib/gwp_asan/tests/slot_reuse.cpp Thu Aug 1 10:53:25 2019
@@ -1,4 +1,4 @@
-//===-- slot_reuse.cc -------------------------------------------*- C++ -*-===//
+//===-- slot_reuse.cpp ------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Modified: compiler-rt/trunk/lib/gwp_asan/tests/thread_contention.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/gwp_asan/tests/thread_contention.cpp?rev=367589&r1=367588&r2=367589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/gwp_asan/tests/thread_contention.cpp (original)
+++ compiler-rt/trunk/lib/gwp_asan/tests/thread_contention.cpp Thu Aug 1 10:53:25 2019
@@ -1,4 +1,4 @@
-//===-- thread_contention.cc ------------------------------------*- C++ -*-===//
+//===-- thread_contention.cpp -----------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Modified: compiler-rt/trunk/lib/msan/msan.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/msan.h?rev=367589&r1=367588&r2=367589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/msan/msan.h (original)
+++ compiler-rt/trunk/lib/msan/msan.h Thu Aug 1 10:53:25 2019
@@ -267,7 +267,7 @@ inline bool addr_is_type(uptr addr, Mapp
#define MEM_IS_SHADOW(mem) addr_is_type((uptr)(mem), MappingDesc::SHADOW)
#define MEM_IS_ORIGIN(mem) addr_is_type((uptr)(mem), MappingDesc::ORIGIN)
-// These constants must be kept in sync with the ones in MemorySanitizer.cc.
+// These constants must be kept in sync with the ones in MemorySanitizer.cpp.
const int kMsanParamTlsSize = 800;
const int kMsanRetvalTlsSize = 800;
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h?rev=367589&r1=367588&r2=367589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h Thu Aug 1 10:53:25 2019
@@ -267,7 +267,7 @@ namespace __sanitizer {
} __sanitizer___kernel_fd_set;
// This thing depends on the platform. We are only interested in the upper
- // limit. Verified with a compiler assert in .cc.
+ // limit. Verified with a compiler assert in .cpp.
const int pthread_attr_t_max_sz = 128;
union __sanitizer_pthread_attr_t {
char size[pthread_attr_t_max_sz]; // NOLINT
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h?rev=367589&r1=367588&r2=367589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h Thu Aug 1 10:53:25 2019
@@ -545,7 +545,7 @@ namespace __sanitizer {
#endif
// This thing depends on the platform. We are only interested in the upper
- // limit. Verified with a compiler assert in .cc.
+ // limit. Verified with a compiler assert in .cpp.
const int pthread_attr_t_max_sz = 128;
union __sanitizer_pthread_attr_t {
char size[pthread_attr_t_max_sz]; // NOLINT
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_solaris.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_solaris.h?rev=367589&r1=367588&r2=367589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_solaris.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_solaris.h Thu Aug 1 10:53:25 2019
@@ -236,7 +236,7 @@ typedef long __sanitizer_clock_t;
typedef int __sanitizer_clockid_t;
// This thing depends on the platform. We are only interested in the upper
-// limit. Verified with a compiler assert in .cc.
+// limit. Verified with a compiler assert in .cpp.
const int pthread_attr_t_max_sz = 128;
union __sanitizer_pthread_attr_t {
char size[pthread_attr_t_max_sz]; // NOLINT
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_interface_java.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_interface_java.h?rev=367589&r1=367588&r2=367589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interface_java.h (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interface_java.h Thu Aug 1 10:53:25 2019
@@ -18,7 +18,7 @@
// For volatile memory accesses and atomic operations JVM is intended to use
// standard atomics API: __tsan_atomicN_load/store/etc.
//
-// For usage examples see lit_tests/java_*.cc
+// For usage examples see lit_tests/java_*.cpp
//===----------------------------------------------------------------------===//
#ifndef TSAN_INTERFACE_JAVA_H
#define TSAN_INTERFACE_JAVA_H
Modified: compiler-rt/trunk/lib/ubsan/ubsan_type_hash.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ubsan/ubsan_type_hash.cpp?rev=367589&r1=367588&r2=367589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ubsan/ubsan_type_hash.cpp (original)
+++ compiler-rt/trunk/lib/ubsan/ubsan_type_hash.cpp Thu Aug 1 10:53:25 2019
@@ -11,7 +11,7 @@
// permitted to use language features which require a C++ ABI library.
//
// Most of the implementation lives in an ABI-specific source file
-// (ubsan_type_hash_{itanium,win}.cc).
+// (ubsan_type_hash_{itanium,win}.cpp).
//
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list