diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-02-27 15:44:03 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-02-27 15:44:03 +0000 |
commit | e3b6d11038f3927fd02ec6d5459cfd0ffbe6b2fe (patch) | |
tree | 98a9fbbc5d808df043ce7efe304123da8c25ba5c /compiler-rt/lib | |
parent | 02e1651c1f25a960391a6bd8fcd4989539fe5183 (diff) | |
download | bcm5719-llvm-e3b6d11038f3927fd02ec6d5459cfd0ffbe6b2fe.tar.gz bcm5719-llvm-e3b6d11038f3927fd02ec6d5459cfd0ffbe6b2fe.zip |
hwasan: Rename source files from cc to cpp
As discussed elsewhere: LLVM uses cpp as its C++ source extension; the
sanitizers should too. This updates files in hwasan.
Patch generated by
for f in lib/hwasan/*.cc ; do svn mv $f ${f%.cc}.cpp; done
followed by
for f in lib/hwasan/*.cpp ; do sed -i '' -e '1s/\.cc -/.cpp /' $f; done
CMakeLists.txt updated manually.
Differential Revision: https://reviews.llvm.org/D58620
llvm-svn: 354989
Diffstat (limited to 'compiler-rt/lib')
-rw-r--r-- | compiler-rt/lib/hwasan/CMakeLists.txt | 23 | ||||
-rw-r--r-- | compiler-rt/lib/hwasan/hwasan.cpp (renamed from compiler-rt/lib/hwasan/hwasan.cc) | 2 | ||||
-rw-r--r-- | compiler-rt/lib/hwasan/hwasan_allocator.cpp (renamed from compiler-rt/lib/hwasan/hwasan_allocator.cc) | 2 | ||||
-rw-r--r-- | compiler-rt/lib/hwasan/hwasan_dynamic_shadow.cpp (renamed from compiler-rt/lib/hwasan/hwasan_dynamic_shadow.cc) | 2 | ||||
-rw-r--r-- | compiler-rt/lib/hwasan/hwasan_interceptors.cpp (renamed from compiler-rt/lib/hwasan/hwasan_interceptors.cc) | 2 | ||||
-rw-r--r-- | compiler-rt/lib/hwasan/hwasan_linux.cpp (renamed from compiler-rt/lib/hwasan/hwasan_linux.cc) | 2 | ||||
-rw-r--r-- | compiler-rt/lib/hwasan/hwasan_memintrinsics.cpp (renamed from compiler-rt/lib/hwasan/hwasan_memintrinsics.cc) | 2 | ||||
-rw-r--r-- | compiler-rt/lib/hwasan/hwasan_new_delete.cpp (renamed from compiler-rt/lib/hwasan/hwasan_new_delete.cc) | 2 | ||||
-rw-r--r-- | compiler-rt/lib/hwasan/hwasan_poisoning.cpp (renamed from compiler-rt/lib/hwasan/hwasan_poisoning.cc) | 2 | ||||
-rw-r--r-- | compiler-rt/lib/hwasan/hwasan_report.cpp (renamed from compiler-rt/lib/hwasan/hwasan_report.cc) | 2 | ||||
-rw-r--r-- | compiler-rt/lib/hwasan/hwasan_thread.cpp (renamed from compiler-rt/lib/hwasan/hwasan_thread.cc) | 0 | ||||
-rw-r--r-- | compiler-rt/lib/hwasan/hwasan_thread_list.cpp (renamed from compiler-rt/lib/hwasan/hwasan_thread_list.cc) | 0 |
12 files changed, 21 insertions, 20 deletions
diff --git a/compiler-rt/lib/hwasan/CMakeLists.txt b/compiler-rt/lib/hwasan/CMakeLists.txt index 7460abc54bd..83233582548 100644 --- a/compiler-rt/lib/hwasan/CMakeLists.txt +++ b/compiler-rt/lib/hwasan/CMakeLists.txt @@ -2,20 +2,21 @@ include_directories(..) # Runtime library sources and build flags. set(HWASAN_RTL_SOURCES - hwasan.cc - hwasan_allocator.cc - hwasan_dynamic_shadow.cc - hwasan_interceptors.cc - hwasan_linux.cc - hwasan_memintrinsics.cc - hwasan_poisoning.cc - hwasan_report.cc - hwasan_thread.cc - hwasan_thread_list.cc + hwasan.cpp + hwasan_allocator.cpp + hwasan_dynamic_shadow.cpp + hwasan_interceptors.cpp + hwasan_linux.cpp + hwasan_memintrinsics.cpp + hwasan_poisoning.cpp + hwasan_report.cpp + hwasan_thread.cpp + hwasan_thread_list.cpp ) set(HWASAN_RTL_CXX_SOURCES - hwasan_new_delete.cc) + hwasan_new_delete.cpp + ) set(HWASAN_RTL_HEADERS hwasan.h diff --git a/compiler-rt/lib/hwasan/hwasan.cc b/compiler-rt/lib/hwasan/hwasan.cpp index 9c83f73bd98..5ac53f2b308 100644 --- a/compiler-rt/lib/hwasan/hwasan.cc +++ b/compiler-rt/lib/hwasan/hwasan.cpp @@ -1,4 +1,4 @@ -//===-- hwasan.cc ---------------------------------------------------------===// +//===-- hwasan.cpp --------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/compiler-rt/lib/hwasan/hwasan_allocator.cc b/compiler-rt/lib/hwasan/hwasan_allocator.cpp index 09f1ab94e4b..19f1bafeb77 100644 --- a/compiler-rt/lib/hwasan/hwasan_allocator.cc +++ b/compiler-rt/lib/hwasan/hwasan_allocator.cpp @@ -1,4 +1,4 @@ -//===-- hwasan_allocator.cc ------------------------- ---------------------===// +//===-- hwasan_allocator.cpp ------------------------ ---------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/compiler-rt/lib/hwasan/hwasan_dynamic_shadow.cc b/compiler-rt/lib/hwasan/hwasan_dynamic_shadow.cpp index e2dbe056559..a04751f44a3 100644 --- a/compiler-rt/lib/hwasan/hwasan_dynamic_shadow.cc +++ b/compiler-rt/lib/hwasan/hwasan_dynamic_shadow.cpp @@ -1,4 +1,4 @@ -//===-- hwasan_dynamic_shadow.cc --------------------------------*- C++ -*-===// +//===-- hwasan_dynamic_shadow.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. diff --git a/compiler-rt/lib/hwasan/hwasan_interceptors.cc b/compiler-rt/lib/hwasan/hwasan_interceptors.cpp index baecb1e0334..3b087e157b0 100644 --- a/compiler-rt/lib/hwasan/hwasan_interceptors.cc +++ b/compiler-rt/lib/hwasan/hwasan_interceptors.cpp @@ -1,4 +1,4 @@ -//===-- hwasan_interceptors.cc --------------------------------------------===// +//===-- hwasan_interceptors.cpp -------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/compiler-rt/lib/hwasan/hwasan_linux.cc b/compiler-rt/lib/hwasan/hwasan_linux.cpp index c922c1110e5..4ab7c323d1f 100644 --- a/compiler-rt/lib/hwasan/hwasan_linux.cc +++ b/compiler-rt/lib/hwasan/hwasan_linux.cpp @@ -1,4 +1,4 @@ -//===-- hwasan_linux.cc -----------------------------------------*- C++ -*-===// +//===-- hwasan_linux.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. diff --git a/compiler-rt/lib/hwasan/hwasan_memintrinsics.cc b/compiler-rt/lib/hwasan/hwasan_memintrinsics.cpp index 1bfc6c3fa68..e82d77a1bc1 100644 --- a/compiler-rt/lib/hwasan/hwasan_memintrinsics.cc +++ b/compiler-rt/lib/hwasan/hwasan_memintrinsics.cpp @@ -1,4 +1,4 @@ -//===-- hwasan_memintrinsics.cc ---------------------------------*- C++ -*-===// +//===-- hwasan_memintrinsics.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. diff --git a/compiler-rt/lib/hwasan/hwasan_new_delete.cc b/compiler-rt/lib/hwasan/hwasan_new_delete.cpp index 9ecc35018d8..438a3699a92 100644 --- a/compiler-rt/lib/hwasan/hwasan_new_delete.cc +++ b/compiler-rt/lib/hwasan/hwasan_new_delete.cpp @@ -1,4 +1,4 @@ -//===-- hwasan_new_delete.cc ----------------------------------------------===// +//===-- hwasan_new_delete.cpp ---------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/compiler-rt/lib/hwasan/hwasan_poisoning.cc b/compiler-rt/lib/hwasan/hwasan_poisoning.cpp index 9404c52feab..2a0816428e7 100644 --- a/compiler-rt/lib/hwasan/hwasan_poisoning.cc +++ b/compiler-rt/lib/hwasan/hwasan_poisoning.cpp @@ -1,4 +1,4 @@ -//===-- hwasan_poisoning.cc -------------------------------------*- C++ -*-===// +//===-- hwasan_poisoning.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. diff --git a/compiler-rt/lib/hwasan/hwasan_report.cc b/compiler-rt/lib/hwasan/hwasan_report.cpp index 76217136250..b1002c546f8 100644 --- a/compiler-rt/lib/hwasan/hwasan_report.cc +++ b/compiler-rt/lib/hwasan/hwasan_report.cpp @@ -1,4 +1,4 @@ -//===-- hwasan_report.cc --------------------------------------------------===// +//===-- hwasan_report.cpp -------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/compiler-rt/lib/hwasan/hwasan_thread.cc b/compiler-rt/lib/hwasan/hwasan_thread.cpp index 46dcddd4288..46dcddd4288 100644 --- a/compiler-rt/lib/hwasan/hwasan_thread.cc +++ b/compiler-rt/lib/hwasan/hwasan_thread.cpp diff --git a/compiler-rt/lib/hwasan/hwasan_thread_list.cc b/compiler-rt/lib/hwasan/hwasan_thread_list.cpp index a31eee84ed9..a31eee84ed9 100644 --- a/compiler-rt/lib/hwasan/hwasan_thread_list.cc +++ b/compiler-rt/lib/hwasan/hwasan_thread_list.cpp |