[PATCH] D20347: Add support to clang-cl driver for /GS switch

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 9 11:58:36 PDT 2016


thakis added a comment.

probably at least the "the XOR with RSP/EBP/ESP" bit still (and maybe EH function upgrades instead of bailing)


================
Comment at: lib/Driver/Tools.cpp:9990
@@ +9989,3 @@
+                   /*default=*/false))
+    CmdArgs.push_back("/GS-");
+
----------------
To pass on /GS- to the fallback compiler when needed, I suppose.


http://reviews.llvm.org/D20347





More information about the cfe-commits mailing list