[LLVMdev] ASAN tests on ARM

Renato Golin renato.golin at linaro.org
Fri Oct 3 10:18:25 PDT 2014


On 3 October 2014 15:20, Evgeniy Stepanov <eugenis at google.com> wrote:
> That's a third option. This flag only really makes sense for one or
> several test cases in a large GTest file. They can be split and moved
> to X86. But this adds more complexity to build system which, in my
> opinion, is never good.

Roger.


> Compiler-rt and llvm build systems know very little about cross-compiling.

Well, right now, it doesn't matter how many targets you build LLVM
for, it'll only run the unit tests on the host platform. It doesn't
seem to have been designed that way, but it works.

Compiler-rt, OTOH, tries to run AArch64 unit tests, which there's no
guarantee they'll work on any other platform. There may be something
missing in its CMake files that is present in the LLVM's?

cheers,
--renato



More information about the llvm-dev mailing list