[Sanitizer] Add pthread_cond_init to the list of versioned functions

llvm-svn: 191078
This commit is contained in:
Alexey Samsonov 2013-09-20 08:37:57 +00:00
parent 4462c5b5d6
commit 29d7be1f68
1 changed files with 4 additions and 3 deletions

View File

@ -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 = []