[PATCH] D50513: clang-cl: Support /guard:cf,nochecks

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 9 08:09:44 PDT 2018


hans added inline comments.


================
Comment at: lib/CodeGen/CodeGenModule.cpp:463
     // We want function ID tables for Control Flow Guard.
-    getModule().addModuleFlag(llvm::Module::Warning, "cfguard", 1);
+    getModule().addModuleFlag(llvm::Module::Warning, "cfguardtable", 1);
   }
----------------
I'll update the LLVM side before landing this, but I think this name better explains what's being emitted.


https://reviews.llvm.org/D50513





More information about the cfe-commits mailing list