================
@@ -1796,16 +1796,21 @@ bool tools::addSanitizerRuntimes(const ToolChain &TC,
const ArgList &Args,
CmdArgs.push_back("--export-dynamic-symbol=__cfi_check");
if (SanArgs.hasMemTag()) {
- if (!TC.getTriple().isAndroid()) {
- TC.getDriver().Diag(diag::err_drv_unsupported_opt_for_target)
- << "-fsanitize=memtag*" << TC.getTriple().str();
+ if (TC.getTriple().isAndroid()) {
----------------
EliaGeretto wrote:
I was not sure if I was allowed to just drop these options in case someone is
calling the linker directly using them. Do you guys think it's acceptable? If
yes, that would indeed simplify things a lot.
https://github.com/llvm/llvm-project/pull/183275
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits