[PATCH] D18212: [sanitizer] On OS X, verify that interceptors work and abort if not, take 2

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 13:11:48 PDT 2016


dvyukov added a comment.

> One solution would be to put the static initializer that calls DisableReexec() to a file that's first in the CMake source file list. That's quite fragile, I don't think we want to depend on the order of file lists in CMake.


Maybe add a weak function in runtime that says whether we need to reexec and override it in the test (since it links runtime statically, it should work). I would prefer such function to an additional public flag. Should be less code as well.


http://reviews.llvm.org/D18212





More information about the llvm-commits mailing list