These tests require x86-registered-target, but they don't force the target as
x86 on the command line, which means they will be run and they might fail when
building the x86 backend on another platform (such as AArch64).
Fixes PR28797
Differential D23054
[clang-cl] Fix PCH tests to use x86_64 as target rovka on Aug 2 2016, 1:13 AM. Authored by
Details These tests require x86-registered-target, but they don't force the target as Fixes PR28797
Diff Detail Event TimelineComment Actions This seems to be the case for other similar tests as well (e.g. cl-pch-errorhandling.cpp requires x86-registered-target, but doesn't force it on the command line), but they're not currently crashing. I can update those as well if people think it's the right thing to do. Comment Actions All tests should have the target explicit, so I'd advocate for all of them to be changed. Also, we need to make sure --target=x86_64 is enough on Windows. I remember some -target=arm not being enough (arm-eabi was enough, for some reason). Comment Actions Coming right up...
It's enough, I've seen it used in other clang-cl tests. |