Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
[asan] Fix dynamic-runtime tests.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
eugenis committed May 6, 2015
1 parent ad9daed commit e2d6a80
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/sanitizer_common/scripts/gen_dynamic_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit e2d6a80

Please sign in to comment.