[Fuchsia] Don't fail for unknown architectures
authorPetr Hosek <phosek@google.com>
Tue, 26 Nov 2019 22:56:31 +0000 (14:56 -0800)
committerPetr Hosek <phosek@google.com>
Wed, 27 Nov 2019 03:16:40 +0000 (19:16 -0800)
commitf7aeca45b23c09522afd9f88c6782b2a2acd0783
tree0f17bd2e9cf9e99e29bbfa3a66344b893e929a1f
parentded249049429a26d3748926c04bd7169f0170714
[Fuchsia] Don't fail for unknown architectures

When selecting the set of default sanitizers, don't fail for unknown
architectures. This may be the case e.g. with x86_64-unknown-fuchsia
-m32 target that's used to build the bootloader.

Differential Revision: https://reviews.llvm.org/D70747
clang/lib/Driver/ToolChains/Fuchsia.cpp