================
@@ -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:
Perfect, I'll drop the current Android-specific options and add
`--memtag-android-note` then.
https://github.com/llvm/llvm-project/pull/183275
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits