[clang] Allow multiple sanitizers on baremetal targets. (PR #72933)
Evgenii Stepanov via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 21 13:08:27 PST 2023
================
@@ -491,3 +491,26 @@ void baremetal::Linker::ConstructJob(Compilation &C, const JobAction &JA,
JA, *this, ResponseFileSupport::AtFileCurCP(),
Args.MakeArgString(TC.GetLinkerPath()), CmdArgs, Inputs, Output));
}
+
+SanitizerMask BareMetal::getSupportedSanitizers() const {
+ const bool IsX86_64 = getTriple().getArch() == llvm::Triple::x86_64;
----------------
eugenis wrote:
thank you, done
https://github.com/llvm/llvm-project/pull/72933
More information about the cfe-commits
mailing list