diff options
author | Guanzhong Chen <gzchen@google.com> | 2019-06-26 20:16:14 +0000 |
---|---|---|
committer | Guanzhong Chen <gzchen@google.com> | 2019-06-26 20:16:14 +0000 |
commit | a057056821e096990964f3416835c8477eb1b6bf (patch) | |
tree | 8b1eed22d4dbfc259a97ff516a396b4959fde2f2 /lib/Tooling/Tooling.cpp | |
parent | 0ad57c86b23bd29ec94af2ba29d5ff57582f3076 (diff) | |
download | clang-a057056821e096990964f3416835c8477eb1b6bf.tar.gz |
[WebAssembly] Implement Address Sanitizer for Emscripten
Summary:
This diff enables address sanitizer on Emscripten.
On Emscripten, real memory starts at the value passed to --global-base.
All memory before this is used as shadow memory, and thus the shadow mapping
function is simply dividing by 8.
Reviewers: tlively, aheejin, sbc100
Reviewed By: sbc100
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D63742
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Tooling/Tooling.cpp')
0 files changed, 0 insertions, 0 deletions