gcc/libsanitizer/tsan
Marek Polacek c191b1abe9 Cherry-pick compiler-rt revision 318044 and 319180.
[PowerPC][tsan] Update tsan to handle changed memory layouts in newer kernels
    
    In more recent Linux kernels with 47 bit VMAs the layout of virtual memory
    for powerpc64 changed causing the thread sanitizer to not work properly. This
    patch adds support for 47 bit VMA kernels for powerpc64.
    
    Tested on several 4.x and 3.x kernel releases.

Regtested/bootstrapped on ppc64le-linux with kernel 4.14; applying to
trunk/8.3.

2018-08-01  Marek Polacek  <polacek@redhat.com>

	PR sanitizer/86759
	* tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
	* tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
	319180.

From-SVN: r263229
2018-08-01 17:17:29 +00:00
..
libtool-version
Makefile.am Enable building libsanitizer with Intel CET 2017-11-17 22:34:50 +01:00
Makefile.in Enable building libsanitizer with Intel CET 2017-11-17 22:34:50 +01:00
tsan_clock.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_clock.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_debugging.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_defs.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_dense_alloc.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_external.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_fd.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_fd.h libsanitizer merge from upstream r250806. 2015-10-21 10:32:45 +03:00
tsan_flags.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_flags.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_flags.inc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_ignoreset.cc
tsan_ignoreset.h
tsan_interceptors_mac.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_interceptors.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_interceptors.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_interface_ann.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_interface_ann.h
tsan_interface_atomic.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_interface_inl.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_interface_java.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_interface_java.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_interface.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_interface.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_libdispatch_mac.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_malloc_mac.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_md5.cc libsanitizer merge from upstream r250806. 2015-10-21 10:32:45 +03:00
tsan_mman.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_mman.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_mutex.cc All source files: Merge from upstream 285547. 2016-11-09 00:04:09 +02:00
tsan_mutex.h All source files: Merge from upstream 285547. 2016-11-09 00:04:09 +02:00
tsan_mutexset.cc
tsan_mutexset.h All source files: Merge from upstream 285547. 2016-11-09 00:04:09 +02:00
tsan_new_delete.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_platform_linux.cc Cherry-pick compiler-rt revision 318044 and 319180. 2018-08-01 17:17:29 +00:00
tsan_platform_mac.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_platform_posix.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_platform_windows.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_platform.h Cherry-pick compiler-rt revision 318044 and 319180. 2018-08-01 17:17:29 +00:00
tsan_ppc_regs.h re PR sanitizer/79168 (libtsan fails to link when cross compiling GCC tip for Aarch64 target) 2017-01-24 01:18:36 +01:00
tsan_preinit.cc All source files: Merge from upstream 285547. 2016-11-09 00:04:09 +02:00
tsan_report.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_report.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_rtl_aarch64.S ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_rtl_amd64.S Enable building libsanitizer with Intel CET 2017-11-17 22:34:50 +01:00
tsan_rtl_mips64.S re PR sanitizer/79168 (libtsan fails to link when cross compiling GCC tip for Aarch64 target) 2017-01-24 01:18:36 +01:00
tsan_rtl_mutex.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_rtl_ppc64.S re PR sanitizer/79168 (libtsan fails to link when cross compiling GCC tip for Aarch64 target) 2017-01-24 01:18:36 +01:00
tsan_rtl_proc.cc All source files: Merge from upstream 285547. 2016-11-09 00:04:09 +02:00
tsan_rtl_report.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_rtl_thread.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_rtl.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_rtl.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_stack_trace.cc libsanitizer merge from upstream r221802 2014-11-13 20:41:38 +00:00
tsan_stack_trace.h libsanitizer merge from upstream r221802 2014-11-13 20:41:38 +00:00
tsan_stat.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_stat.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_suppressions.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_suppressions.h libsanitizer merge from upstream r250806. 2015-10-21 10:32:45 +03:00
tsan_symbolize.cc All source files: Merge from upstream 285547. 2016-11-09 00:04:09 +02:00
tsan_symbolize.h libsanitizer merge from upstream r250806. 2015-10-21 10:32:45 +03:00
tsan_sync.cc ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_sync.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_trace.h ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins... 2017-10-19 13:23:59 +02:00
tsan_update_shadow_word_inl.h libsanitizer merge from upstream r250806. 2015-10-21 10:32:45 +03:00
tsan_vector.h