I’m the developer of the package CpuId. I’m currently facing an issue which appears to only occur when testing the package through the package manager, viz. typing ]test CpuId. In that case, the core functions containing an llvmcall are somehow differently inlined and yield a segfault. This does not seem to occur in, say, regular operations. I have theories on why this happens, but I can’t reproduce the issue outside the package manager testing environment.
My question: How do I get a view on the generated code when testing through the package manager? (eg. @testset, @test etc.).
Thanks!
Thanks, @tkf and @Tamas_Papp. Found the additional option --check-bounds=yes for julia when using Pkg.test. These additional bounds checks are in fact triggering the segfaults.