[compiler-rt] [compiler-rt][MSVC][CMake] Wrap Linker flags for ICX (PR #118496)

Mészáros Gergely via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 01:08:27 PST 2024


Maetveis wrote:

> This lgtm, although I don't know if it's actually going to make asan work with the intel toolchain.

Do you mean will it make an asan runtime library **built** with the intel toolchain work, or will it make `-fsanitize=address` work with the intel compiler? I think the answer to both should be yes, but I'm not 100% certain. This change was motivated by our (I'm a developer for ICX) internal testing showing failures for asan unitests.

> What linker do they use?

MSVC's `link.exe` by default, though some compiler options (for example LTO and offloading) implicitly cause `lld-link` to be used instead, I don't know if `-fsanitize=address` is among them. 

https://github.com/llvm/llvm-project/pull/118496


More information about the llvm-commits mailing list