[cfe-commits] r164485 - /cfe/trunk/test/Driver/darwin-asan-nofortify.c

Alexander Potapenko glider at google.com
Mon Sep 24 03:25:25 PDT 2012


Author: glider
Date: Mon Sep 24 05:25:24 2012
New Revision: 164485

URL: http://llvm.org/viewvc/llvm-project?rev=164485&view=rev
Log:
Use an explicit target to test that source fortification is off when building for Darwin with -faddress-sanitizer.

Modified:
    cfe/trunk/test/Driver/darwin-asan-nofortify.c

Modified: cfe/trunk/test/Driver/darwin-asan-nofortify.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/darwin-asan-nofortify.c?rev=164485&r1=164484&r2=164485&view=diff
==============================================================================
--- cfe/trunk/test/Driver/darwin-asan-nofortify.c (original)
+++ cfe/trunk/test/Driver/darwin-asan-nofortify.c Mon Sep 24 05:25:24 2012
@@ -1,5 +1,5 @@
 // Make sure AddressSanitizer disables _FORTIFY_SOURCE on Darwin.
 
-// REQUIRES: system-darwin
-// RUN: %clang -faddress-sanitizer %s -E -dM -o - | FileCheck %s
+// RUN: %clang -faddress-sanitizer %s -E -dM -target x86_64-darwin - | FileCheck %s
+
 // CHECK: #define _FORTIFY_SOURCE 0





More information about the cfe-commits mailing list