summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Lettner <jlettner@apple.com>2019-08-19 18:41:20 +0000
committerJulian Lettner <jlettner@apple.com>2019-08-19 18:41:20 +0000
commite644d5e230ef34c04e9ed198a9dcc9178721a142 (patch)
treeb3d0a04d16baa55af58876f26cfd849c79bf9620
parentbf989187c30f37cfb1bb1496c06fe6047ee15202 (diff)
downloadbcm5719-llvm-e644d5e230ef34c04e9ed198a9dcc9178721a142.tar.gz
bcm5719-llvm-e644d5e230ef34c04e9ed198a9dcc9178721a142.zip
[TSan] Rename file to make it clear that it defines interceptors
Rename file `tsan_libdispatch.cpp -> tsan_libdispatch_interceptors.cpp` to make it clear that it's main purpose is defining interceptors. llvm-svn: 369289
-rw-r--r--compiler-rt/lib/tsan/CMakeLists.txt2
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_libdispatch_interceptors.cpp (renamed from compiler-rt/lib/tsan/rtl/tsan_libdispatch.cpp)2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/tsan/CMakeLists.txt b/compiler-rt/lib/tsan/CMakeLists.txt
index ffbe62aa93a..f4bd2dce732 100644
--- a/compiler-rt/lib/tsan/CMakeLists.txt
+++ b/compiler-rt/lib/tsan/CMakeLists.txt
@@ -76,7 +76,7 @@ endif()
if(COMPILER_RT_INTERCEPT_LIBDISPATCH)
list(APPEND TSAN_SOURCES
- rtl/tsan_libdispatch.cpp
+ rtl/tsan_libdispatch_interceptors.cpp
)
list(APPEND TSAN_RTL_CFLAGS ${COMPILER_RT_LIBDISPATCH_CFLAGS})
endif()
diff --git a/compiler-rt/lib/tsan/rtl/tsan_libdispatch.cpp b/compiler-rt/lib/tsan/rtl/tsan_libdispatch_interceptors.cpp
index ac654d16edd..5431d7fa53d 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_libdispatch.cpp
+++ b/compiler-rt/lib/tsan/rtl/tsan_libdispatch_interceptors.cpp
@@ -1,4 +1,4 @@
-//===-- tsan_libdispatch.cpp ----------------------------------------------===//
+//===-- tsan_libdispatch_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.
OpenPOWER on IntegriCloud