[compiler-rt] [asan][AIX] Move import/export lists to an AIX-specific subdirectory (PR #145936)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 26 10:35:45 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Jake Egan (jakeegan)
<details>
<summary>Changes</summary>
This makes it more clear that these lists are AIX-specific.
---
Full diff: https://github.com/llvm/llvm-project/pull/145936.diff
3 Files Affected:
- (modified) compiler-rt/cmake/Modules/AddCompilerRT.cmake (+1-1)
- (renamed) compiler-rt/lib/asan/AIX/asan.link_with_main_exec.txt ()
- (renamed) compiler-rt/lib/asan/AIX/asan_cxx.link_with_main_exec.txt ()
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/145936
More information about the llvm-commits
mailing list