From 2fe5ee7dc0d1dd3a2bc0d4ef65af149d5fd2f85c Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 11 Nov 2014 10:13:10 -0800 Subject: Fix a funny ASAN bug --- tools/debug-debug-scripts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') 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', file=w) -- cgit v1.2.3-70-g09d2