[PATCH] D34210: Add __has_feature(leak_sanitizer)
    Kostya Serebryany via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Mon Jul 10 09:51:33 PDT 2017
    
    
  
kcc added a comment.
In https://reviews.llvm.org/D34210#785828, @rnk wrote:
> If LSan is a runtime thing, why not use weak hooks or something to detect LSan at runtime instead of using a macro?
+1
For a run-time-only feature the checking should also be run-time-only (not compile-time)
https://reviews.llvm.org/D34210
    
    
More information about the cfe-commits
mailing list