[compiler-rt] 875581b - [asan][AIX] Move import/export lists to an AIX-specific subdirectory (#145936)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 8 07:06:57 PDT 2025
Author: Jake Egan
Date: 2025-07-08T10:06:54-04:00
New Revision: 875581b3ca150b4bd837b0505927639326f40e05
URL: https://github.com/llvm/llvm-project/commit/875581b3ca150b4bd837b0505927639326f40e05
DIFF: https://github.com/llvm/llvm-project/commit/875581b3ca150b4bd837b0505927639326f40e05.diff
LOG: [asan][AIX] Move import/export lists to an AIX-specific subdirectory (#145936)
This makes it more clear that these lists are AIX-specific.
Added:
compiler-rt/lib/asan/AIX/asan.link_with_main_exec.txt
compiler-rt/lib/asan/AIX/asan_cxx.link_with_main_exec.txt
Modified:
compiler-rt/cmake/Modules/AddCompilerRT.cmake
Removed:
compiler-rt/lib/asan/asan.link_with_main_exec.txt
compiler-rt/lib/asan/asan_cxx.link_with_main_exec.txt
################################################################################
diff --git a/compiler-rt/cmake/Modules/AddCompilerRT.cmake b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
index 45a2f5c0a61fc..9a0426ff29470 100644
--- a/compiler-rt/cmake/Modules/AddCompilerRT.cmake
+++ b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
@@ -584,7 +584,7 @@ endmacro(add_compiler_rt_script src name)
macro(add_compiler_rt_cfg target_name file_name component arch)
- set(src_file "${CMAKE_CURRENT_SOURCE_DIR}/${file_name}")
+ set(src_file "${CMAKE_CURRENT_SOURCE_DIR}/AIX/${file_name}")
get_compiler_rt_output_dir(${arch} output_dir)
set(dst_file "${output_dir}/${file_name}")
add_custom_command(OUTPUT ${dst_file}
diff --git a/compiler-rt/lib/asan/asan.link_with_main_exec.txt b/compiler-rt/lib/asan/AIX/asan.link_with_main_exec.txt
similarity index 100%
rename from compiler-rt/lib/asan/asan.link_with_main_exec.txt
rename to compiler-rt/lib/asan/AIX/asan.link_with_main_exec.txt
diff --git a/compiler-rt/lib/asan/asan_cxx.link_with_main_exec.txt b/compiler-rt/lib/asan/AIX/asan_cxx.link_with_main_exec.txt
similarity index 100%
rename from compiler-rt/lib/asan/asan_cxx.link_with_main_exec.txt
rename to compiler-rt/lib/asan/AIX/asan_cxx.link_with_main_exec.txt
More information about the llvm-commits
mailing list