summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@mips.com>2018-01-20 00:06:07 +0000
committerPetar Jovanovic <petar.jovanovic@mips.com>2018-01-20 00:06:07 +0000
commit6f10bd21f08b045305ccc1abf4e43ff5a9104bdd (patch)
treee9b92c5e2adb1481f486bae325c7aa6012829011 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parenta83a665cd42240f59b0861ae1854e0764bee11cd (diff)
downloadbcm5719-llvm-6f10bd21f08b045305ccc1abf4e43ff5a9104bdd.tar.gz
bcm5719-llvm-6f10bd21f08b045305ccc1abf4e43ff5a9104bdd.zip
[TSan][MIPS] Expand sanitizer memory space to lower addresses
MemToShadowImpl() maps lower addresses to a memory space out of sanitizers range. The simplest example is address 0 which is mapped to 0x2000000000 static const uptr kShadowBeg = 0x2400000000ull; but accessing the address during tsan execution will lead to a segmentation fault. This patch expands the range used by the sanitizer and ensures that 1/8 of the maximum valid address in the virtual address spaces is used for shadow memory. Patch by Milos Stojanovic. Differential Revision: https://reviews.llvm.org/D41777 llvm-svn: 323013
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud