summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_allocator_local_cache.h
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2018-05-02 18:08:47 +0000
committerPetr Hosek <phosek@chromium.org>2018-05-02 18:08:47 +0000
commit9213cbd62580dfe10db7bf7412f08b585c8a85ec (patch)
tree85daf652eccda5aa6c1c6653b27f533250f86890 /lib/sanitizer_common/sanitizer_allocator_local_cache.h
parent2b275a963cb299fa0782a6d0a529cbcf6a532476 (diff)
[sanitizer] Fix Fuchsia ReadBinaryName not to crash when uninitialized
If the sanitizer runtime is loaded in a binary that doesn't really support it, then __sanitizer_startup_hook will never have been called to initialize StoredArgv. This case can't be supported, but its failure mode shouldn't be to crash in sanitizer_common internals. Patch By: mcgrathr Differential Revision: https://reviews.llvm.org/D46344 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@331382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_allocator_local_cache.h')
0 files changed, 0 insertions, 0 deletions