eugenis added a comment. Or, rather, define something like common_cxxflags in test/lit.common.cfg and apply them in all sanitizer tests. This script should not edit compilation flags. Repository: rCRT Compiler Runtime https://reviews.llvm.org/D53711