[compiler-rt] 1e07c48 - [rtsan][NFC] Rename *interceptors.cpp to *interceptors_posix.cpp (#112935)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 07:48:59 PDT 2024


Author: Chris Apple
Date: 2024-10-21T07:48:56-07:00
New Revision: 1e07c4800cf46ac9e4748b664cb58cbd48acb918

URL: https://github.com/llvm/llvm-project/commit/1e07c4800cf46ac9e4748b664cb58cbd48acb918
DIFF: https://github.com/llvm/llvm-project/commit/1e07c4800cf46ac9e4748b664cb58cbd48acb918.diff

LOG: [rtsan][NFC] Rename *interceptors.cpp to *interceptors_posix.cpp (#112935)

Done in preparation of exploring rtsan on windows.

Added: 
    compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp
    compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp

Modified: 
    compiler-rt/lib/rtsan/CMakeLists.txt
    compiler-rt/lib/rtsan/tests/CMakeLists.txt

Removed: 
    compiler-rt/lib/rtsan/rtsan_interceptors.cpp
    compiler-rt/lib/rtsan/tests/rtsan_test_interceptors.cpp


################################################################################
diff  --git a/compiler-rt/lib/rtsan/CMakeLists.txt b/compiler-rt/lib/rtsan/CMakeLists.txt
index f8dd4d735bc2a3..a4413d9992b62a 100644
--- a/compiler-rt/lib/rtsan/CMakeLists.txt
+++ b/compiler-rt/lib/rtsan/CMakeLists.txt
@@ -5,7 +5,7 @@ set(RTSAN_CXX_SOURCES
   rtsan_context.cpp
   rtsan_diagnostics.cpp
   rtsan_flags.cpp
-  rtsan_interceptors.cpp
+  rtsan_interceptors_posix.cpp
   rtsan_stats.cpp
   rtsan_suppressions.cpp
   )

diff  --git a/compiler-rt/lib/rtsan/rtsan_interceptors.cpp b/compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp
similarity index 100%
rename from compiler-rt/lib/rtsan/rtsan_interceptors.cpp
rename to compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp

diff  --git a/compiler-rt/lib/rtsan/tests/CMakeLists.txt b/compiler-rt/lib/rtsan/tests/CMakeLists.txt
index 139eea785fcdca..0cf07b307d4610 100644
--- a/compiler-rt/lib/rtsan/tests/CMakeLists.txt
+++ b/compiler-rt/lib/rtsan/tests/CMakeLists.txt
@@ -16,7 +16,7 @@ set(RTSAN_UNITTEST_CFLAGS
 
 set(RTSAN_INST_TEST_SOURCES
     rtsan_test_functional.cpp
-    rtsan_test_interceptors.cpp
+    rtsan_test_interceptors_posix.cpp
     rtsan_test_main.cpp)
 
 set(RTSAN_NOINST_TEST_SOURCES

diff  --git a/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors.cpp b/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
similarity index 100%
rename from compiler-rt/lib/rtsan/tests/rtsan_test_interceptors.cpp
rename to compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp


        


More information about the llvm-commits mailing list