[compiler-rt] [asan][AIX] Move import/export lists to an AIX-specific subdirectory (PR #145936)
Jake Egan via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 26 10:34:41 PDT 2025
https://github.com/jakeegan created https://github.com/llvm/llvm-project/pull/145936
This makes it more clear that these lists are AIX-specific.
>From 0e84f1dc88752d478d435cb0cfb31624c8ca4c55 Mon Sep 17 00:00:00 2001
From: Jake Egan <jake.egan at ibm.com>
Date: Thu, 26 Jun 2025 13:32:49 -0400
Subject: [PATCH] [asan][AIX] Move import/export lists to an AIX-specific
subdirectory
---
compiler-rt/cmake/Modules/AddCompilerRT.cmake | 2 +-
compiler-rt/lib/asan/{ => AIX}/asan.link_with_main_exec.txt | 0
compiler-rt/lib/asan/{ => AIX}/asan_cxx.link_with_main_exec.txt | 0
3 files changed, 1 insertion(+), 1 deletion(-)
rename compiler-rt/lib/asan/{ => AIX}/asan.link_with_main_exec.txt (100%)
rename compiler-rt/lib/asan/{ => AIX}/asan_cxx.link_with_main_exec.txt (100%)
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