[PATCH] D70747: [Fuchsia] Don't fail for unknown architectures
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 26 19:20:25 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf7aeca45b23c: [Fuchsia] Don't fail for unknown architectures (authored by phosek).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70747/new/
https://reviews.llvm.org/D70747
Files:
clang/lib/Driver/ToolChains/Fuchsia.cpp
Index: clang/lib/Driver/ToolChains/Fuchsia.cpp
===================================================================
--- clang/lib/Driver/ToolChains/Fuchsia.cpp
+++ clang/lib/Driver/ToolChains/Fuchsia.cpp
@@ -351,10 +351,9 @@
case llvm::Triple::x86_64:
Res |= SanitizerKind::SafeStack;
break;
- case llvm::Triple::riscv64:
- break;
default:
- llvm_unreachable("invalid architecture");
+ // TODO: Enable SafeStack on RISC-V once tested.
+ break;
}
return Res;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70747.231164.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191127/820e1818/attachment-0001.bin>
More information about the cfe-commits
mailing list