diff options
| author | Petr Hosek <phosek@chromium.org> | 2018-05-02 18:08:47 +0000 |
|---|---|---|
| committer | Petr Hosek <phosek@chromium.org> | 2018-05-02 18:08:47 +0000 |
| commit | 716d9949f629204e896080bc4c7a5f057ac7e267 (patch) | |
| tree | b7200132b0ccfd2cc7968224885350c3afbb7d4e /llvm/lib/Target/X86 | |
| parent | 8d0d1aa2291e769b8b7e0a38783d496928f4af53 (diff) | |
| download | bcm5719-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/Target/X86')
0 files changed, 0 insertions, 0 deletions

