summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/scripts
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-09-20 08:37:57 +0000
committerAlexey Samsonov <samsonov@google.com>2013-09-20 08:37:57 +0000
commit8e05fda2a6b24a0aa293239ebc1c121d18b5a07f (patch)
tree695ef2c0f808cd5bdae5ae6ffb2c5d20a3154d3e /lib/sanitizer_common/scripts
parenteb0be61dee155f501bb249287b17d364fedf3507 (diff)
[Sanitizer] Add pthread_cond_init to the list of versioned functions
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191078 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/scripts')
-rwxr-xr-xlib/sanitizer_common/scripts/gen_dynamic_list.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/sanitizer_common/scripts/gen_dynamic_list.py b/lib/sanitizer_common/scripts/gen_dynamic_list.py
index de8ea4d0f..8d2b9d31a 100755
--- a/lib/sanitizer_common/scripts/gen_dynamic_list.py
+++ b/lib/sanitizer_common/scripts/gen_dynamic_list.py
@@ -25,9 +25,10 @@ new_delete = set(['_ZdaPv', '_ZdaPvRKSt9nothrow_t',
'_Znwm', '_ZnwmRKSt9nothrow_t'])
versioned_functions = set(['memcpy', 'pthread_cond_broadcast',
- 'pthread_cond_destroy', 'pthread_cond_signal',
- 'pthread_cond_timedwait', 'pthread_cond_wait',
- 'realpath', 'sched_getaffinity'])
+ 'pthread_cond_destroy', 'pthread_cond_init',
+ 'pthread_cond_signal', 'pthread_cond_timedwait',
+ 'pthread_cond_wait', 'realpath',
+ 'sched_getaffinity'])
def get_global_functions(library):
functions = []