[llvm] r226809 - [ASan/Win] Move the shadow to 0x30000000

Timur Iskhodzhanov timurrrr at google.com
Tue Feb 3 10:37:02 PST 2015


Hans,

Can we merge this (along with the compiler-rt part) to 3.6.0?
--
Tim

чт, 22 янв. 2015, 15:31, Timur Iskhodzhanov <timurrrr at google.com>:

> Author: timurrrr
> Date: Thu Jan 22 06:24:21 2015
> New Revision: 226809
>
> URL: http://llvm.org/viewvc/llvm-project?rev=226809&view=rev
> Log:
> [ASan/Win] Move the shadow to 0x30000000
>
> Modified:
>     llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
>
> Modified: llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/
> Transforms/Instrumentation/AddressSanitizer.cpp?rev=
> 226809&r1=226808&r2=226809&view=diff
> ============================================================
> ==================
> --- llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
> (original)
> +++ llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp Thu
> Jan 22 06:24:21 2015
> @@ -67,7 +67,7 @@ static const uint64_t kMIPS32_ShadowOffs
>  static const uint64_t kMIPS64_ShadowOffset64 = 1ULL << 36;
>  static const uint64_t kFreeBSD_ShadowOffset32 = 1ULL << 30;
>  static const uint64_t kFreeBSD_ShadowOffset64 = 1ULL << 46;
> -static const uint64_t kWindowsShadowOffset32 = 1ULL << 30;
> +static const uint64_t kWindowsShadowOffset32 = 3ULL << 28;
>
>  static const size_t kMinStackMallocSize = 1 << 6;  // 64B
>  static const size_t kMaxStackMallocSize = 1 << 16;  // 64K
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150203/1cc023cc/attachment.html>


More information about the llvm-commits mailing list