diff options
author | Martin Storsjö <martin@martin.st> | 2025-04-25 12:16:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-25 12:16:59 +0300 |
commit | 655933070219f2b6f3a457c7e5af7edd4b5291b4 (patch) | |
tree | 64efe6478152606f01a0c662178e598eec4fb662 /clang/lib/AST/ByteCode/Compiler.cpp | |
parent | 34660eb60ee6401d9e7ce6dd37552c46eb760620 (diff) | |
download | llvm-655933070219f2b6f3a457c7e5af7edd4b5291b4.zip llvm-655933070219f2b6f3a457c7e5af7edd4b5291b4.tar.gz llvm-655933070219f2b6f3a457c7e5af7edd4b5291b4.tar.bz2 |
[compiler-rt] Only include asan on x86 architectures on Windows (#137173)
This avoids building asan when targeting Windows on armv7 or aarch64. It
is possible to build asan successfully for those configurations (since
5ea9dd8c7076270695a1d90b9c73718e7d95e0bf and
0c391133c9201ef29273554a1505ef855ce17668), but asan isn't functional
there.
This change skips building asan for targets other than x86_32 and
x86_64.
By excluding asan from the build, we fix the "check-ubsan" target for
armv7 and aarch64 Windows. If asan is included in the build, an
ubsan-asan configuration gets added to the tests, and as asan isn't
functional for these targets, it produces a lot of test failures even
when just trying to run "check-ubsan".
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions