[PATCH] D132808: [LLD][MinGW] Add --[no-]guard-cf and --[no-]guard-longjmp

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 8 04:15:11 PDT 2022


mstorsjo added inline comments.


================
Comment at: lld/MinGW/Driver.cpp:386
+    else
+      add("-guard:cf,nolongjmp");
+  } else if (args.hasFlag(OPT_guard_longjmp, OPT_no_guard_longjmp, false)) {
----------------
If I understand correctly, the flags passed on here are unambiguous wrt the lld-link interface (and wrt D132901), so we can land this one safely now (now that D132810 is approved too)?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132808/new/

https://reviews.llvm.org/D132808



More information about the llvm-commits mailing list