[PATCH] D118052: [X86] Fix CodeGen Module Flag for -mibt-seal

Phoebe Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 23 03:39:15 PDT 2022


pengfei accepted this revision.
pengfei added a comment.

LGTM.



================
Comment at: clang/test/CodeGen/X86/x86-cf-protection.c:6
+// RUN: %clang -target i386-unknown-unknown -o - -emit-llvm -S -fcf-protection=branch -flto %s | FileCheck %s --check-prefix=NOIBTSEAL
+// RUN: %clang -target i386-unknown-unknown -o - -emit-llvm -S -fcf-protection=branch -mibt-seal %s | FileCheck %s --check-prefix=NOLTO
 
----------------
I think we can use `NOIBTSEAL` here too.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118052



More information about the cfe-commits mailing list