diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-11-11 10:13:10 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-11-11 10:13:10 -0800 |
commit | 2fe5ee7dc0d1dd3a2bc0d4ef65af149d5fd2f85c (patch) | |
tree | 7153eaeaf5576e9b0f3e755731190a60db01bc20 | |
parent | 2f90b3a569c9627f0fa56ed282a33b596f0026f3 (diff) | |
download | tmwa-2fe5ee7dc0d1dd3a2bc0d4ef65af149d5fd2f85c.tar.gz tmwa-2fe5ee7dc0d1dd3a2bc0d4ef65af149d5fd2f85c.tar.bz2 tmwa-2fe5ee7dc0d1dd3a2bc0d4ef65af149d5fd2f85c.tar.xz tmwa-2fe5ee7dc0d1dd3a2bc0d4ef65af149d5fd2f85c.zip |
Fix a funny ASAN bugv14.11.11
-rw-r--r-- | Makefile.in | 2 | ||||
-rwxr-xr-x | tools/debug-debug-scripts | 2 |
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) |