diff options
author | Marek Polacek <polacek@redhat.com> | 2018-08-01 17:17:29 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2018-08-01 17:17:29 +0000 |
commit | c191b1abe9db08abdf3b2d792980e8eee63735b5 (patch) | |
tree | b0a7fd76d49f61f580ac251b671c79eecabb8779 /libsanitizer/tsan/tsan_interface.cc | |
parent | 616fc41ca2e3eb90c6e870d72d54277546c62a4d (diff) | |
download | gcc-c191b1abe9db08abdf3b2d792980e8eee63735b5.tar.gz |
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
Diffstat (limited to 'libsanitizer/tsan/tsan_interface.cc')
0 files changed, 0 insertions, 0 deletions