[PATCH] D11857: CFI: Introduce -fsanitize=cfi-icall flag.

Kostya Serebryany via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 9 18:38:41 PDT 2015


kcc accepted this revision.
kcc added a comment.
This revision is now accepted and ready to land.

LGTM with a nit


================
Comment at: test/CodeGen/cfi-icall.c:1
@@ +1,2 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux -fsanitize=cfi-icall -fsanitize-trap=cfi-icall -emit-llvm -o - %s | FileCheck --check-prefix=ITANIUM %s
+// RUN: %clang_cc1 -triple x86_64-pc-windows-msvc -fsanitize=cfi-icall -fsanitize-trap=cfi-icall -emit-llvm -o - %s | FileCheck --check-prefix=MS %s
----------------
Add a comment explaining what we are testing here.
same below. 


http://reviews.llvm.org/D11857





More information about the cfe-commits mailing list