[compiler-rt] [rtsan][NFC] Rename *interceptors.cpp to *interceptors_posix.cpp (PR #112935)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 09:59:00 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Chris Apple (cjappl)
<details>
<summary>Changes</summary>
This is a straight rename, done in preparation of exploring rtsan on windows.
Please be aware of what is **not** here, I left this header unchanged, as I believe it should be expected that any system implementing rtsan should adhere to this API:
https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/rtsan/rtsan_interceptors.h
---
Full diff: https://github.com/llvm/llvm-project/pull/112935.diff
4 Files Affected:
- (modified) compiler-rt/lib/rtsan/CMakeLists.txt (+1-1)
- (renamed) compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp ()
- (modified) compiler-rt/lib/rtsan/tests/CMakeLists.txt (+1-1)
- (renamed) compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp ()
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/112935
More information about the llvm-commits
mailing list