[TSan] Rename file to make it clear that it defines interceptors
authorJulian Lettner <jlettner@apple.com>
Mon, 19 Aug 2019 18:41:20 +0000 (18:41 +0000)
committerJulian Lettner <jlettner@apple.com>
Mon, 19 Aug 2019 18:41:20 +0000 (18:41 +0000)
Rename file `tsan_libdispatch.cpp -> tsan_libdispatch_interceptors.cpp`
to make it clear that it's main purpose is defining interceptors.

llvm-svn: 369289

compiler-rt/lib/tsan/CMakeLists.txt
compiler-rt/lib/tsan/rtl/tsan_libdispatch_interceptors.cpp [moved from compiler-rt/lib/tsan/rtl/tsan_libdispatch.cpp with 99% similarity]

index ffbe62a..f4bd2dc 100644 (file)
@@ -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()
@@ -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.