r207452 - in /trunk/libsanitizer: ChangeLog san...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue Feb 4 07:37:00 GMT 2014
Author: jakub
Date: Tue Feb 4 07:37:44 2014
New Revision: 207452
URL: http://gcc.gnu.org/viewcvs?rev=207452&root=gcc&view=rev
Log:
PR sanitizer/60038
* sanitizer_common/sanitizer_linux_libcdep.cc: Include
sanitizer_atomic.h and unistd.h.
(kThreadDescriptorSize): Made static, remove initializer and const,
change type to atomic_uintptr_t.
(ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
query glibc version, compute kThreadDescriptorSize depending on
glibc version minor number.
(GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
kThreadDescriptorSize directly.
Modified:
trunk/libsanitizer/ChangeLog
trunk/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc
More information about the Gcc-cvs
mailing list