[MIPS] Fix the ASAN shadow offset hook for the N32 ABI
authorDimitrije Milosevic <dimitrije.milosevic@syrmia.com>
Wed, 6 Jul 2022 10:22:04 +0000 (12:22 +0200)
committerDjordje Todorovic <djordje.todorovic@syrmia.com>
Wed, 6 Jul 2022 10:44:28 +0000 (12:44 +0200)
commit9f492a9ae5cf9fc9d89c9da837cdb652207a2d6e
tree2fc197c2e2540341cd2d00190073079b546ff842
parent73440ca9f878f9c4150b339bdd56b234d9167ee9
[MIPS] Fix the ASAN shadow offset hook for the N32 ABI

Currently, LLVM doesn't have the correct shadow offset
mapping for the n32 ABI.
This patch introduces the correct shadow offset value
for the n32 ABI - 1ULL << 29.

Differential Revision: https://reviews.llvm.org/D127096
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp