mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
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:
committed by
Peter Johnson
parent
8cbe7a6257
commit
bbb622aaa6
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user