summaryrefslogtreecommitdiff
path: root/src/base/configuration.h
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2018-10-17 21:21:00 -0700
committerGitHub <noreply@github.com>2018-10-17 21:21:00 -0700
commit62ed33cb855dc2c86d1fe4342b5cc6217e03910f (patch)
tree95362b97fe35947a2e6113ec67aec3e49e5aa62f /src/base/configuration.h
parentf1a4096e579b101642c5a47eb5c8e90476ccc81a (diff)
Show if ASAN build in --show-config (#2650)
This commit extends `--show-config` to show whether the current build is an ASAN build or not. This is done by moving a detection that was previously done for the unit tests into base/configuration_private.h. In addition to being convenient, this allows us to easily exclude regression tests from ASAN builds.
Diffstat (limited to 'src/base/configuration.h')
-rw-r--r--src/base/configuration.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/configuration.h b/src/base/configuration.h
index a00a6c1d9..b6e2a1963 100644
--- a/src/base/configuration.h
+++ b/src/base/configuration.h
@@ -63,6 +63,8 @@ public:
static bool isProfilingBuild();
+ static bool isAsanBuild();
+
static bool isCompetitionBuild();
static std::string getPackageName();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback