We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26db05a commit f7610b8Copy full SHA for f7610b8
clang/lib/CodeGen/CodeGenModule.cpp
@@ -1037,6 +1037,11 @@ void CodeGenModule::Release() {
1037
llvm::MDString::get(Ctx, ABIStr));
1038
}
1039
1040
+ if (CodeGenOpts.DisableCFICheck) {
1041
+ // Indicate that we want to disable cfi check.
1042
+ getModule().addModuleFlag(llvm::Module::Override, "Disable CFI Check", 1);
1043
+ }
1044
+
1045
if (CodeGenOpts.SanitizeCfiCrossDso && !CodeGenOpts.DisableCFICheck) {
1046
// Indicate that we want cross-DSO control flow integrity checks.
1047
getModule().addModuleFlag(llvm::Module::Override, "Cross-DSO CFI", 1);
0 commit comments