[llvm-dev] Unit tests in compiler-rt not rebuilding with changes to runtimes?

Chris Bieneman via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 3 10:43:21 PDT 2017


I want to make sure I understand the problem so I can try to reproduce it.

When you say "make changes to the runtime" you mean code in compiler-rt/lib/xray ?

Are you using the mono-repo prototype? If not, where do you have compiler-rt's sources (llvm/projects or llvm/runtimes)?

Lastly, can you provide your CMake configuration command line?

Thanks,
-Chris

> On Oct 3, 2017, at 4:58 AM, Dean Michael Berris <dean.berris at gmail.com> wrote:
> 
> Hi llvm-dev,
> 
> I have unit tests set up in the XRay implementation (compiler-rt/lib/xray/tests/unit) following the pattern that the TSAN and other sanitiser unit tests. However, I'm running into the following problem:
> 
> When I make changes to the runtime (in this case, XRay) and do `ninja all check-xray`, it seems that the unit tests don't get re-liked to the new version of the runtime.
> 
> It could be something obviously that I'm doing wrong here, but does anybody have ideas how to avoid this?
> 
> Cheers
> 
> -- Dean
> 



More information about the llvm-dev mailing list