Commit 25fa127
committed
[compiler-rt] Only include asan on x86 architectures on Windows
This avoids building asan when targeting Windows on armv7 or
aarch64. It is possible to build asan successfully for those
configurations (since 5ea9dd8
and 0c39113), 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".1 parent f218cd2 commit 25fa127
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| |||
0 commit comments