Go to file
Marcin Koscielnicki 57290f934a [ASan] Add shadow offset for SystemZ.
SystemZ on Linux currently has 53-bit address space.  In theory, the hardware
could support a full 64-bit address space, but that's not supported due to
kernel limitations (it'd require 5-level page tables), and there are no plans
for that.  The default process layout stays within first 4TB of address space
(to avoid creating 4-level page tables), so any offset >= (1 << 42) is fine.
Let's use 1 << 52 here, ie. exactly half the address space.

I've originally used 7 << 50 (uses top 1/8th of the address space), but ASan
runtime assumes there's some space after the shadow area.  While this is
fixable, it's simpler to avoid the issue entirely.

Also, I've originally wanted to have the shadow aligned to 1/8th the address
space, so that we can use OR like X86 to assemble the offset.  I no longer
think it's a good idea, since using ADD enables us to load the constant just
once and use it with register + register indexed addressing.

Differential Revision: http://reviews.llvm.org/D19650

llvm-svn: 268161
2016-04-30 09:57:34 +00:00
clang Stab in the dark to fix the PS4 bot 2016-04-30 05:27:17 +00:00
clang-tools-extra [Release Notes] Mention Clang-tidy cert-err34-c check. 2016-04-30 00:11:10 +00:00
compiler-rt Finally fix invalid-pointer-pairs.cc. This time the demangle on the Windows buildbot. 2016-04-30 08:34:40 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc prepare-builtins: Remove call to getGlobalContext() 2016-04-15 14:18:58 +00:00
libcxx Replace one more occurrence of non-standard std:launch::any. Patch from STL@microsoft.com 2016-04-30 02:30:18 +00:00
libcxxabi Enable testing for static libc++abi 2016-04-19 12:47:38 +00:00
libunwind unwind: remove last instance of -Wexpansion-to-defined 2016-04-26 01:11:29 +00:00
lld Don't create dynamic relocations to ro segments. 2016-04-30 01:15:17 +00:00
lldb Fix TestEnumTypes.py for 32 bit platforms. 2016-04-29 23:34:44 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm [ASan] Add shadow offset for SystemZ. 2016-04-30 09:57:34 +00:00
openmp Remove architecture dependent Hwloc DEBUG section 2016-04-25 21:11:26 +00:00
polly doc: A source code with Polly does not use a separate module (by default) 2016-04-29 12:35:46 +00:00