summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
diff options
context:
space:
mode:
authorGuanzhong Chen <gzchen@google.com>2019-06-26 20:12:33 +0000
committerGuanzhong Chen <gzchen@google.com>2019-06-26 20:12:33 +0000
commite15dc9546683348a5caaa650e539ccbc704463ee (patch)
tree96a118f90deaed5ccf31d858ba4f6ce8ab01a49d /llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
parent8ac899c6003cba58162161cc07c5c5e2f0da5194 (diff)
downloadbcm5719-llvm-e15dc9546683348a5caaa650e539ccbc704463ee.tar.gz
bcm5719-llvm-e15dc9546683348a5caaa650e539ccbc704463ee.zip
[wasm-ld] Add __global_base symbol to mark the value of --global-base
Summary: This is needed for address sanitizer on Emscripten. As everything in memory starts at the value passed to --global-base, everything before that can be used as shadow memory. This symbol is added so that the library for the ASan runtime can know where the shadow memory ends and real memory begins. This is split from D63742. Reviewers: tlively, aheejin, sbc100 Subscribers: sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63833 llvm-svn: 364467
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud