summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/TargetSelect.cpp
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
commit716d9949f629204e896080bc4c7a5f057ac7e267 (patch)
treeb7200132b0ccfd2cc7968224885350c3afbb7d4e /llvm/lib/ExecutionEngine/TargetSelect.cpp
parent8d0d1aa2291e769b8b7e0a38783d496928f4af53 (diff)
downloadbcm5719-llvm-716d9949f629204e896080bc4c7a5f057ac7e267.tar.gz
bcm5719-llvm-716d9949f629204e896080bc4c7a5f057ac7e267.zip
[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 llvm-svn: 331382
Diffstat (limited to 'llvm/lib/ExecutionEngine/TargetSelect.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud