OSDN Git Service

[asan] Support dynamic shadow address instrumentation
authorEtienne Bergeron <etienneb@google.com>
Mon, 19 Sep 2016 15:58:38 +0000 (15:58 +0000)
committerEtienne Bergeron <etienneb@google.com>
Mon, 19 Sep 2016 15:58:38 +0000 (15:58 +0000)
commitb87b0d37950d317d46544332abf779142cff9136
treec080c4cef0913d24062634b7b920756ba9d73c48
parent781fb6ecc8e89b36ed03ad41087e9ce34d854507
[asan] Support dynamic shadow address instrumentation

Summary:
This patch is adding the support for a shadow memory with
dynamically allocated address range.

The compiler-rt needs to export a symbol containing the shadow
memory range.

This is required to support ASAN on windows 64-bits.

Reviewers: kcc, rnk, vitalybuka

Subscribers: kubabrecka, dberris, llvm-commits, chrisha

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281908 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Instrumentation/AddressSanitizer/basic-msvc64.ll [new file with mode: 0644]