diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-24 02:33:03 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:32 +0200 |
commit | 2cee880ef4ba9f4369b7e464eec87c4fec55d7fc (patch) | |
tree | 9d5ee0a7106d310c283fe612d6af96ba393c71b8 | |
parent | 48483eab86f52a1eac64b56e767e88b86f665988 (diff) |
Add more runtime checks for debug builds
-rw-r--r-- | backend/ninja/Ninja.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 7053d43..35922ee 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -722,7 +722,7 @@ namespace backend switch (config.getOptimizationLevel()) { case OPT_LEV_DEBUG: - result += " -g3 -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables "; + result += " -g3 -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fsanitize=address -fsanitize=undefined "; break; case OPT_LEV_RELEASE: result += " -g0"; |