AddressSanitizer: fix for SPARC with GCC
authorVitaly Buka <vitalybuka@google.com>
Tue, 12 Mar 2019 21:02:15 +0000 (21:02 +0000)
committerVitaly Buka <vitalybuka@google.com>
Tue, 12 Mar 2019 21:02:15 +0000 (21:02 +0000)
commit5ae9f865b298b0d3ce8dbf31f2511a4e1e458c57
tree1ef8dbd18f6f6f7ce4caacb603af1d0a405c23c9
parentd3ed66dfb37c93b4bbcb1497fe89e2311b9bc784
AddressSanitizer: fix for SPARC with GCC

Summary:
This patch contains a fixlet for the AddressSanitizer on the SPARC with GCC, which would otherwise generate a problematic call to the intercepted memcpy routine.  It was tested with GCC on SPARC/Solaris and SPARC/Linux.

Patch by Eric Botcazou.

Reviewers: #sanitizers, vitalybuka

Reviewed By: #sanitizers, vitalybuka

Subscribers: vitalybuka, ro, jyknight, kubamracek, fedor.sergeev, jdoerfert, llvm-commits, #sanitizers

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D58433

llvm-svn: 355979
compiler-rt/lib/asan/asan_globals.cc