summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-11-11 10:13:10 -0800
committerBen Longbons <b.r.longbons@gmail.com>2014-11-11 10:13:10 -0800
commit2fe5ee7dc0d1dd3a2bc0d4ef65af149d5fd2f85c (patch)
tree7153eaeaf5576e9b0f3e755731190a60db01bc20
parent2f90b3a569c9627f0fa56ed282a33b596f0026f3 (diff)
downloadtmwa-14.11.11.tar.gz
tmwa-14.11.11.tar.bz2
tmwa-14.11.11.tar.xz
tmwa-14.11.11.zip
Fix a funny ASAN bugv14.11.11
-rw-r--r--Makefile.in2
-rwxr-xr-xtools/debug-debug-scripts2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 8254bc2..0002153 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -414,7 +414,7 @@ clean-obj:
clean-conf:
$l rm -rf conf-raw
mostlyclean: clean-conf
- $l rm -rf obj
+ $l rm -rf obj stamp
clean: mostlyclean
$l rm -rf bin lib
distclean: clean gen-clean
diff --git a/tools/debug-debug-scripts b/tools/debug-debug-scripts
index 0ddf998..7cb91d9 100755
--- a/tools/debug-debug-scripts
+++ b/tools/debug-debug-scripts
@@ -99,6 +99,8 @@ def main(args):
print('// just mention "fwd.hpp" and "../poison.hpp" to make formatter happy', file=w)
print('namespace tmwa', file=w)
print('{', file=w)
+ print(' void do_nothing_asan_is_funny_global_constructor();', file=w)
+ print(' void do_nothing_asan_is_funny_global_constructor() {}', file=w)
print('} // namespace tmwa', file=w)
print(file=w)
print('template<class T>', file=w)