[PATCH] D24048: [Driver] [Darwin] Add sanitizer libraries even if -nodefaultlibs is passed
    Chris Bieneman via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Sep  1 14:10:11 PDT 2016
    
    
  
beanz added a comment.
@zaks.anna, changing the build system to explicitly select which sanitizer runtime to use is more complicated than it might seem. The sanitizer runtime libraries are named differently by toolchain, so correctly selecting a library would involve either duplicating complicated compiler driver logic, or invoking the compiler to get it to report which library it would use. Both of which are fragile.
If the build system needs to work around this, it can, but it would be much better if we didn't need to.
https://reviews.llvm.org/D24048
    
    
More information about the cfe-commits
mailing list