[compiler-rt] [rtsan][NFC] Rename *interceptors.cpp to *interceptors_posix.cpp (PR #112935)
Chris Apple via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 09:58:24 PDT 2024
https://github.com/cjappl created https://github.com/llvm/llvm-project/pull/112935
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
>From 0e85dd0eb498648383b47c9fb69e780f58bd67de Mon Sep 17 00:00:00 2001
From: Chris Apple <cja-private at pm.me>
Date: Fri, 18 Oct 2024 09:55:55 -0700
Subject: [PATCH] [rtsan][NFC] Rename *interceptors.cpp to
*interceptors_posix.cpp
---
compiler-rt/lib/rtsan/CMakeLists.txt | 2 +-
.../{rtsan_interceptors.cpp => rtsan_interceptors_posix.cpp} | 0
compiler-rt/lib/rtsan/tests/CMakeLists.txt | 2 +-
..._test_interceptors.cpp => rtsan_test_interceptors_posix.cpp} | 0
4 files changed, 2 insertions(+), 2 deletions(-)
rename compiler-rt/lib/rtsan/{rtsan_interceptors.cpp => rtsan_interceptors_posix.cpp} (100%)
rename compiler-rt/lib/rtsan/tests/{rtsan_test_interceptors.cpp => rtsan_test_interceptors_posix.cpp} (100%)
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