[PATCH] D39924: [PowerPC][tsan] Update tsan to handle changed memory layouts in newer kernels

Bill Seurer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 10 14:36:40 PST 2017


seurer created this revision.
Herald added a subscriber: kubamracek.

[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.


https://reviews.llvm.org/D39924

Files:
  lib/tsan/rtl/tsan_platform.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39924.122532.patch
Type: text/x-patch
Size: 6044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171110/c6a99cbb/attachment.bin>


More information about the llvm-commits mailing list