[compiler-rt] r185078 - tsan: revert dynamic symbols file to the old incorrect one
Dmitry Vyukov
dvyukov at google.com
Thu Jun 27 06:56:38 PDT 2013
Author: dvyukov
Date: Thu Jun 27 08:56:37 2013
New Revision: 185078
URL: http://llvm.org/viewvc/llvm-project?rev=185078&view=rev
Log:
tsan: revert dynamic symbols file to the old incorrect one
full proper list of dynamic symbols crashes old gold (see bug 16468).
the culprit is 'memcpy' function, if it's added to syms file, gold crashes
Modified:
compiler-rt/trunk/lib/tsan/Makefile.old
compiler-rt/trunk/lib/tsan/rtl/tsan.syms
Modified: compiler-rt/trunk/lib/tsan/Makefile.old
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/Makefile.old?rev=185078&r1=185077&r2=185078&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/Makefile.old (original)
+++ compiler-rt/trunk/lib/tsan/Makefile.old Thu Jun 27 08:56:37 2013
@@ -64,8 +64,8 @@ run: all
presubmit:
../sanitizer_common/scripts/check_lint.sh
- ./gen_dynamic_list.sh > rtl/tsan.syms.new
- diff rtl/tsan.syms rtl/tsan.syms.new
+ #./gen_dynamic_list.sh > rtl/tsan.syms.new
+ #diff rtl/tsan.syms rtl/tsan.syms.new
# Debug build with clang.
$(MAKE) -f Makefile.old clean
$(MAKE) -f Makefile.old run DEBUG=1 -j 16 CC=$(CLANG) CXX=$(CLANG)++
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan.syms
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan.syms?rev=185078&r1=185077&r2=185078&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan.syms (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan.syms Thu Jun 27 08:56:37 2013
@@ -1,382 +1,5 @@
-# AUTO GENERATED by compiler-rt/lib/tsan/gen_dynamic_list.sh; EDITING IS FUTILE.
{
- abort;
- accept;
- accept4;
- Annotate*;
- asctime_r;
- bind;
- calloc;
- cfree;
- clock_settime;
- close;
- connect;
- creat;
- creat64;
- dup;
- dup2;
- dup3;
- epoll_create;
- epoll_create1;
- epoll_ctl;
- epoll_wait;
- eventfd;
- fclose;
- fflush;
- fopen;
- fork;
- fread;
- free;
- freopen;
- frexp;
- frexpl;
- fstat;
- fstat64;
- fwrite;
- gethostbyname2;
- gethostbyname2_r;
- getpeername;
- getsockname;
- getsockopt;
- gettimeofday;
- inet_aton;
- inet_pton;
- inotify_init;
- inotify_init1;
- ioctl;
- kill;
- listen;
- longjmp;
- lstat;
- lstat64;
- malloc;
- memalign;
- memchr;
- memcmp;
- memcpy;
- memmove;
- memrchr;
- memset;
- mlock;
- mlockall;
- mmap;
- mmap64;
- modfl;
- munlock;
- munlockall;
- munmap;
- nanosleep;
- on_exit;
- open;
- open64;
- opendir;
- pipe;
- pipe2;
- poll;
- posix_memalign;
- prctl;
- pread;
- pread64;
- preadv;
- preadv64;
- pthread_barrier_destroy;
- pthread_barrier_init;
- pthread_barrier_wait;
- pthread_cond_broadcast;
- pthread_cond_destroy;
- pthread_cond_signal;
- pthread_cond_timedwait;
- pthread_cond_wait;
- pthread_create;
- pthread_detach;
- pthread_getschedparam;
- pthread_join;
- pthread_kill;
- pthread_mutex_destroy;
- pthread_mutex_init;
- pthread_mutex_lock;
- pthread_mutex_timedlock;
- pthread_mutex_trylock;
- pthread_mutex_unlock;
- pthread_once;
- pthread_rwlock_destroy;
- pthread_rwlock_init;
- pthread_rwlock_rdlock;
- pthread_rwlock_timedrdlock;
- pthread_rwlock_timedwrlock;
- pthread_rwlock_tryrdlock;
- pthread_rwlock_trywrlock;
- pthread_rwlock_unlock;
- pthread_rwlock_wrlock;
- pthread_spin_destroy;
- pthread_spin_init;
- pthread_spin_lock;
- pthread_spin_trylock;
- pthread_spin_unlock;
- puts;
- pvalloc;
- pwrite;
- pwrite64;
- pwritev;
- pwritev64;
- raise;
- read;
- readv;
- realloc;
- recv;
- recvmsg;
- rmdir;
- RunningOnValgrind;
- sem_destroy;
- sem_getvalue;
- sem_init;
- sem_post;
- sem_timedwait;
- sem_trywait;
- sem_wait;
- send;
- sendmsg;
- setitimer;
- setjmp;
- sigaction;
- siglongjmp;
- signal;
- signalfd;
- sigsetjmp;
- sleep;
- socket;
- socketpair;
- stat;
- stat64;
- strcasecmp;
- strchr;
- strchrnul;
- strcmp;
- strcpy;
- strlen;
- strncasecmp;
- strncmp;
- strncpy;
- strrchr;
- strstr;
- sysinfo;
- time;
- unlink;
- usleep;
- valloc;
- wait4;
- write;
- writev;
- WTFAnnotate*;
- _setjmp;
- _ZdaPv;
- _ZdaPvRKSt9nothrow_t;
- _ZdlPv;
- _ZdlPvRKSt9nothrow_t;
- _Znam;
- _ZnamRKSt9nothrow_t;
- _Znwm;
- _ZnwmRKSt9nothrow_t;
- __close;
- __cxa_atexit;
- __fxstat;
- __fxstat64;
- __interceptor_abort;
- __interceptor_accept;
- __interceptor_accept4;
- __interceptor_asctime_r;
- __interceptor_bind;
- __interceptor_calloc;
- __interceptor_cfree;
- __interceptor_clock_settime;
- __interceptor_close;
- __interceptor_connect;
- __interceptor_creat;
- __interceptor_creat64;
- __interceptor_dup;
- __interceptor_dup2;
- __interceptor_dup3;
- __interceptor_epoll_create;
- __interceptor_epoll_create1;
- __interceptor_epoll_ctl;
- __interceptor_epoll_wait;
- __interceptor_eventfd;
- __interceptor_fclose;
- __interceptor_fflush;
- __interceptor_fopen;
- __interceptor_fork;
- __interceptor_fread;
- __interceptor_free;
- __interceptor_freopen;
- __interceptor_frexp;
- __interceptor_frexpl;
- __interceptor_fstat;
- __interceptor_fstat64;
- __interceptor_fwrite;
- __interceptor_gethostbyname2;
- __interceptor_gethostbyname2_r;
- __interceptor_getpeername;
- __interceptor_getsockname;
- __interceptor_getsockopt;
- __interceptor_gettimeofday;
- __interceptor_inet_aton;
- __interceptor_inet_pton;
- __interceptor_inotify_init;
- __interceptor_inotify_init1;
- __interceptor_ioctl;
- __interceptor_kill;
- __interceptor_listen;
- __interceptor_longjmp;
- __interceptor_lstat;
- __interceptor_lstat64;
- __interceptor_malloc;
- __interceptor_memalign;
- __interceptor_memchr;
- __interceptor_memcmp;
- __interceptor_memcpy;
- __interceptor_memmove;
- __interceptor_memrchr;
- __interceptor_memset;
- __interceptor_mlock;
- __interceptor_mlockall;
- __interceptor_mmap;
- __interceptor_mmap64;
- __interceptor_modfl;
- __interceptor_munlock;
- __interceptor_munlockall;
- __interceptor_munmap;
- __interceptor_nanosleep;
- __interceptor_on_exit;
- __interceptor_open;
- __interceptor_open64;
- __interceptor_opendir;
- __interceptor_pipe;
- __interceptor_pipe2;
- __interceptor_poll;
- __interceptor_posix_memalign;
- __interceptor_prctl;
- __interceptor_pread;
- __interceptor_pread64;
- __interceptor_preadv;
- __interceptor_preadv64;
- __interceptor_pthread_barrier_destroy;
- __interceptor_pthread_barrier_init;
- __interceptor_pthread_barrier_wait;
- __interceptor_pthread_cond_broadcast;
- __interceptor_pthread_cond_destroy;
- __interceptor_pthread_cond_signal;
- __interceptor_pthread_cond_timedwait;
- __interceptor_pthread_cond_wait;
- __interceptor_pthread_create;
- __interceptor_pthread_detach;
- __interceptor_pthread_getschedparam;
- __interceptor_pthread_join;
- __interceptor_pthread_kill;
- __interceptor_pthread_mutex_destroy;
- __interceptor_pthread_mutex_init;
- __interceptor_pthread_mutex_lock;
- __interceptor_pthread_mutex_timedlock;
- __interceptor_pthread_mutex_trylock;
- __interceptor_pthread_mutex_unlock;
- __interceptor_pthread_once;
- __interceptor_pthread_rwlock_destroy;
- __interceptor_pthread_rwlock_init;
- __interceptor_pthread_rwlock_rdlock;
- __interceptor_pthread_rwlock_timedrdlock;
- __interceptor_pthread_rwlock_timedwrlock;
- __interceptor_pthread_rwlock_tryrdlock;
- __interceptor_pthread_rwlock_trywrlock;
- __interceptor_pthread_rwlock_unlock;
- __interceptor_pthread_rwlock_wrlock;
- __interceptor_pthread_spin_destroy;
- __interceptor_pthread_spin_init;
- __interceptor_pthread_spin_lock;
- __interceptor_pthread_spin_trylock;
- __interceptor_pthread_spin_unlock;
- __interceptor_puts;
- __interceptor_pvalloc;
- __interceptor_pwrite;
- __interceptor_pwrite64;
- __interceptor_pwritev;
- __interceptor_pwritev64;
- __interceptor_raise;
- __interceptor_read;
- __interceptor_readv;
- __interceptor_realloc;
- __interceptor_recv;
- __interceptor_recvmsg;
- __interceptor_rmdir;
- __interceptor_sem_destroy;
- __interceptor_sem_getvalue;
- __interceptor_sem_init;
- __interceptor_sem_post;
- __interceptor_sem_timedwait;
- __interceptor_sem_trywait;
- __interceptor_sem_wait;
- __interceptor_send;
- __interceptor_sendmsg;
- __interceptor_setitimer;
- __interceptor_setjmp;
- __interceptor_sigaction;
- __interceptor_siglongjmp;
- __interceptor_signal;
- __interceptor_signalfd;
- __interceptor_sigsetjmp;
- __interceptor_sleep;
- __interceptor_socket;
- __interceptor_socketpair;
- __interceptor_stat;
- __interceptor_stat64;
- __interceptor_strcasecmp;
- __interceptor_strchr;
- __interceptor_strchrnul;
- __interceptor_strcmp;
- __interceptor_strcpy;
- __interceptor_strlen;
- __interceptor_strncasecmp;
- __interceptor_strncmp;
- __interceptor_strncpy;
- __interceptor_strrchr;
- __interceptor_strstr;
- __interceptor_sysinfo;
- __interceptor_time;
- __interceptor_unlink;
- __interceptor_usleep;
- __interceptor_valloc;
- __interceptor_wait4;
- __interceptor_write;
- __interceptor_writev;
- __interceptor__setjmp;
- __interceptor___close;
- __interceptor___cxa_atexit;
- __interceptor___fxstat;
- __interceptor___fxstat64;
- __interceptor___isoc99_vfscanf;
- __interceptor___libc_memalign;
- __interceptor___lxstat;
- __interceptor___lxstat64;
- __interceptor___res_iclose;
- __interceptor___sigsetjmp;
- __interceptor___xstat;
- __interceptor___xstat64;
- __isoc99_vfscanf;
- __libc_memalign;
- __lxstat;
- __lxstat64;
- __res_iclose;
- __sanitizer_syscall*;
- __sanitizer_unaligned*;
- __sigsetjmp;
- __tsan_acquire;
- __tsan_atomic*;
- __tsan_func*;
- __tsan_init;
- __tsan_java*;
- __tsan_read*;
- __tsan_release;
- __tsan_unaligned*;
- __tsan_vptr*;
- __tsan_write*;
- __xstat;
- __xstat64;
+ __tsan_*;
+ __sanitizer_syscall_pre_*;
+ __sanitizer_syscall_post_*;
};
More information about the llvm-commits
mailing list