[clang] [lld] [lld][ELF][clang][MTE] Add generic -z memtag-* options (PR #187055)

Elia Geretto via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 24 01:49:17 PDT 2026


================
@@ -630,6 +630,27 @@ static ZicfissPolicy getZZicfiss(Ctx &ctx, opt::InputArgList &args) {
   return ret;
 }
 
+static int getZMemtagMode(Ctx &ctx, opt::InputArgList &args) {
+  auto ret = ELF::NT_MEMTAG_LEVEL_NONE;
+
----------------
EliaGeretto wrote:

I will incorporate this change in the new PR.

https://github.com/llvm/llvm-project/pull/187055


More information about the cfe-commits mailing list