llvm-project/mlir/cmake/modules
Rahul Kayaith 87296fd3c1 [mlir] Don't use -z,defs on sanitizer builds
This works around link errors when building the python bindings with
ASAN, since the ASAN run-time doesn't get linked into shared libraries.
The ASAN docs specficially call out -z,defs as a potential issue:
https://clang.llvm.org/docs/AddressSanitizer.html#usage

closes https://github.com/llvm/llvm-project/issues/60565

Reviewed By: stellaraccident, mehdi_amini

Differential Revision: https://reviews.llvm.org/D145956
2023-03-13 14:04:31 -04:00
..
AddMLIR.cmake [mlir] Don't use -z,defs on sanitizer builds 2023-03-13 14:04:31 -04:00
AddMLIRPython.cmake [mlir][py] Fix python modules build with clang-cl due to requiring exceptions 2023-01-06 22:48:14 +01:00
CMakeLists.txt [cmake] Fix path to LLVMConfig.cmake for multi-config builds 2023-01-13 20:32:59 +01:00
MLIRConfig.cmake.in Add version to all LLVM cmake package 2022-11-25 21:57:58 +00:00
MLIRConfigVersion.cmake.in Add version to all LLVM cmake package 2022-11-25 21:57:58 +00:00
MLIRDetectPythonEnv.cmake