This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rs6000] Fix address sanitizer for powerpc64.


Hi!

On Wed, Apr 18, 2018 at 12:20:50AM +0200, Jakub Jelinek wrote:
> On Tue, Apr 17, 2018 at 05:15:06PM -0500, Bill Seurer wrote:
> > This patch fixes problems that asan has on powerpc64 running on some old
> > kernels and also very new kernels.
> > 
> > See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85394 and
> > https://github.com/google/sanitizers/issues/933 for more information.
> > 
> > Bootstrapped and tested on powerpc64le-unknown-linux-gnu and
> > powerpc64be-unknown-linux-gnu with no regressions.  Is this ok for trunk?
> > 
> > 
> > 2018-04-17  Bill Seurer  <seurer@linux.vnet.ibm.com>
> > 
> > 	PR sanitizer/85389
> > 	* asan/asan_allocator.h: Switch to use dynamic base for the allocator
> > 	region.
> 
> I'd write
> 	* asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
> 	from 0xa0000000000ULL to ~(uptr)0.
> 
> Ok with that change and thanks for all the testing.

Same here: thanks!


Segher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]