From e2d6a80984afee75645d2f64882afb84763e2557 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Wed, 6 May 2015 00:29:57 +0000 Subject: [PATCH] [asan] Fix dynamic-runtime tests. They are not part of check-all :( This change adds sized-delete operators to the version list, and disables the hack that excluded versioned symbols from the dynamic list - this is not an issue in this case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@236559 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/sanitizer_common/scripts/gen_dynamic_list.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/sanitizer_common/scripts/gen_dynamic_list.py b/lib/sanitizer_common/scripts/gen_dynamic_list.py index a5fed7e05c..c0ee15af11 100755 --- a/lib/sanitizer_common/scripts/gen_dynamic_list.py +++ b/lib/sanitizer_common/scripts/gen_dynamic_list.py @@ -23,7 +23,8 @@ new_delete = set(['_ZdaPv', '_ZdaPvRKSt9nothrow_t', '_ZdlPv', '_ZdlPvRKSt9nothrow_t', '_Znam', '_ZnamRKSt9nothrow_t', - '_Znwm', '_ZnwmRKSt9nothrow_t']) + '_Znwm', '_ZnwmRKSt9nothrow_t', + '_ZdlPvm', '_ZdaPvm']) versioned_functions = set(['memcpy', 'pthread_attr_getaffinity_np', 'pthread_cond_broadcast', @@ -74,7 +75,7 @@ def main(argv): # We have to avoid exporting the interceptors for versioned library # functions due to gold internal error. orig_name = match.group(1) - if orig_name in function_set and orig_name not in versioned_functions: + if orig_name in function_set and (args.version_list or orig_name not in versioned_functions): result.append(orig_name) continue # Export sanitizer interface functions.