compiler-rt: Rename .cc file in lib/lsan to .cpp

Like r367463, but for lsan.

llvm-svn: 367561
This commit is contained in:
Nico Weber 2019-08-01 14:01:30 +00:00
parent 9642e337eb
commit ae1fc9baae
13 changed files with 27 additions and 24 deletions

View File

@ -4,26 +4,29 @@ set(LSAN_CFLAGS ${SANITIZER_COMMON_CFLAGS})
append_rtti_flag(OFF LSAN_CFLAGS)
set(LSAN_COMMON_SOURCES
lsan_common.cc
lsan_common_linux.cc
lsan_common_mac.cc)
lsan_common.cpp
lsan_common_linux.cpp
lsan_common_mac.cpp
)
set(LSAN_SOURCES
lsan.cc
lsan_allocator.cc
lsan_linux.cc
lsan_interceptors.cc
lsan_mac.cc
lsan_malloc_mac.cc
lsan_preinit.cc
lsan_thread.cc)
lsan.cpp
lsan_allocator.cpp
lsan_linux.cpp
lsan_interceptors.cpp
lsan_mac.cpp
lsan_malloc_mac.cpp
lsan_preinit.cpp
lsan_thread.cpp
)
set(LSAN_HEADERS
lsan.h
lsan_allocator.h
lsan_common.h
lsan_flags.inc
lsan_thread.h)
lsan_thread.h
)
set(LSAN_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR})

View File

@ -1,4 +1,4 @@
//=-- lsan.cc -------------------------------------------------------------===//
//=-- lsan.cpp ------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.

View File

@ -1,4 +1,4 @@
//=-- lsan_allocator.cc ---------------------------------------------------===//
//=-- lsan_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.

View File

@ -1,4 +1,4 @@
//=-- lsan_common.cc ------------------------------------------------------===//
//=-- lsan_common.cpp -----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.

View File

@ -1,4 +1,4 @@
//=-- lsan_common_linux.cc ------------------------------------------------===//
//=-- lsan_common_linux.cpp -----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.

View File

@ -1,4 +1,4 @@
//=-- lsan_common_mac.cc --------------------------------------------------===//
//=-- lsan_common_mac.cpp -------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.

View File

@ -1,4 +1,4 @@
//=-- lsan_interceptors.cc ------------------------------------------------===//
//=-- lsan_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.

View File

@ -1,4 +1,4 @@
//=-- lsan_linux.cc -------------------------------------------------------===//
//=-- lsan_linux.cpp ------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.

View File

@ -1,4 +1,4 @@
//===-- lsan_mac.cc -------------------------------------------------------===//
//===-- lsan_mac.cpp ------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.

View File

@ -1,4 +1,4 @@
//===-- lsan_malloc_mac.cc ------------------------------------------------===//
//===-- lsan_malloc_mac.cpp -----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.

View File

@ -1,4 +1,4 @@
//===-- lsan_preinit.cc ---------------------------------------------------===//
//===-- lsan_preinit.cpp --------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.

View File

@ -1,4 +1,4 @@
//=-- lsan_thread.cc ------------------------------------------------------===//
//=-- lsan_thread.cpp -----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.

View File

@ -103,7 +103,7 @@ run_lint ${MSAN_RTL_LINT_FILTER} ${MSAN_RTL}/*.cc \
# LSan
LSAN_RTL=${COMPILER_RT}/lib/lsan
run_lint ${LSAN_RTL_LINT_FILTER} ${LSAN_RTL}/*.cc \
run_lint ${LSAN_RTL_LINT_FILTER} ${LSAN_RTL}/*.cpp \
${LSAN_RTL}/*.h &
run_lint ${LSAN_LIT_TEST_LINT_FILTER} ${LIT_TESTS}/lsan/*/*.cc &