[PATCH] D65029: [Driver] Support for disabling sanitizer runtime linking

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 2 20:41:15 PDT 2019


MaskRay added a comment.

In D65029#1613315 <https://reviews.llvm.org/D65029#1613315>, @phosek wrote:

> I've updated the change and renamed the flag to `-fsanitize-no-runtime` although I'm not sure if it's necessarily better. I was thinking that ideal interface might be `-fsanitize-runtime=(none|minimal|shared|static)` which could also replace `-fshared-libsan` and `-fstatic-libsan`, but it'd be a breaking change so we might have to keep the existing flag and maybe print a deprecation warning. WDYT?


+1 for `-fsanitize-runtime=`


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65029/new/

https://reviews.llvm.org/D65029





More information about the cfe-commits mailing list