diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-05-06 00:29:57 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-05-06 00:29:57 +0000 |
commit | e2d6a80984afee75645d2f64882afb84763e2557 (patch) | |
tree | c151e3d4dea5c4622b33726032eae4621c21b531 | |
parent | ad9daedb695d73c4519201de56af9811f8f17029 (diff) |
[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
-rwxr-xr-x | lib/sanitizer_common/scripts/gen_dynamic_list.py | 5 |
1 files 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 a5fed7e05..c0ee15af1 100755 --- a/lib/sanitizer_common/scripts/gen_dynamic_list.py +++ b/lib/sanitizer_common/scripts/gen_dynamic_list.py @@ -23,7 +23,8 @@ import sys 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. |