HomePhabricator

[PowerPC][asan] Update asan to handle changed memory layouts in newer kernels

Description

[PowerPC][asan] Update asan 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 address sanitizer to not work properly. This
patch adds support for 47 bit VMA kernels for powerpc64 and fixes up test
cases.

https://reviews.llvm.org/D40907

There is an associated patch for compiler-rt.

Tested on several 4.x and 3.x kernel releases.

Details

Committed
seurerDec 7 2017, 2:53 PM
Parents
rL320108: [DebugInfo] Fix register variables not showing up in pdb.
Branches
Unknown
Tags
Unknown