]> granicus.if.org Git - clang/commitdiff
Use an explicit target to test that source fortification is off when building for...
authorAlexander Potapenko <glider@google.com>
Mon, 24 Sep 2012 10:25:24 +0000 (10:25 +0000)
committerAlexander Potapenko <glider@google.com>
Mon, 24 Sep 2012 10:25:24 +0000 (10:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164485 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/darwin-asan-nofortify.c

index 59f00ff98b0f1d2abeebda97f5645e65472a7418..42e81f872f8ac0897b5a855f334263a3a59f7e2f 100644 (file)
@@ -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