[compiler-rt] [asan] Implement address sanitizer on AIX: build configuration (PR #139583)
Hubert Tong via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 11 12:11:53 PDT 2025
================
@@ -382,10 +384,21 @@ else()
endif()
endif()
endforeach()
+ endif()
endif()
add_compiler_rt_resource_file(asan_ignorelist asan_ignorelist.txt asan)
+# On AIX, static sanitizer libraries are not added to the DSO, so we need to put
+# asan.link_with_main_exec.txt and asan_cxx.link_with_main_exec.txt to the build
+# and install dir to resolve undefined sanitizer symbols at runtime.
----------------
hubert-reinterpretcast wrote:
Wording nit: Technically, just adding the files doesn't solve the problem.
```suggestion
# and install dir for use in resolving undefined sanitizer symbols at runtime.
```
https://github.com/llvm/llvm-project/pull/139583
More information about the llvm-commits
mailing list