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
This commit is contained in:
parent
02e1651c1f
commit
e3b6d11038
|
@ -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
|
||||
|
|
|
@ -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.
|
|
@ -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.
|
|
@ -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.
|
|
@ -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.
|
|
@ -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.
|
|
@ -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.
|
|
@ -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.
|
|
@ -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.
|
|
@ -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.
|
Loading…
Reference in New Issue