[compiler-rt] r366186 - Finish "Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO"

Stephan Bergmann via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 02:51:56 PDT 2019


On 16/07/2019 11:07, Ilya Biryukov wrote:
> Is there a more principled way to use sanitizer_platform.h from the test?
> 
> We are running clang tests in a distributed environment and don't have a 
> full source checkout when running the tests.
> One way to make it work for us is to make the test depend on the build 
> target producing the headers and configure the compiler being run (by 
> passing the -I flag or something similar).

That test not being optimal was discussed at 
<https://reviews.llvm.org/D61479> (see comment by vsk on 2019/07/11), 
but without a clear idea for a superior solution.

Ilya, can you come up with a patch as you outlined above?  I'm afraid 
LLVM's CMake build machinery is beyond me.


More information about the llvm-commits mailing list