Revert "Use ASAN when on Clang (#1187)" (#1234)

This reverts commit 340b26bada.

Closes #1232

We are reverting this because it broke Mac builds. The root cause of
this is a requirement that the entire application must be built with ASAN
to link properly. For more information about why this is see the below link.

https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow#false-positives
This commit is contained in:
Austin Shalit
2018-07-28 12:50:25 -04:00
committed by Peter Johnson
parent 8cbe7a6257
commit bbb622aaa6

View File

@@ -10,13 +10,4 @@ model {
staticConfigs = project.staticGtestConfigs
}
}
binaries {
withType(GoogleTestTestSuiteBinarySpec) {
if (toolChain instanceof Clang) {
println "Clang Detected - Using ASAN"
cppCompiler.args << '-fsanitize=address'
linker.args << '-fsanitize=address'
}
}
}
}