aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/split-debug.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-02-21 22:35:05 +0000
committerEric Christopher <echristo@gmail.com>2013-02-21 22:35:05 +0000
commitf870e12f2324f48248793035ab0edb35d66e2299 (patch)
tree6a39f50c176308f4c46fc91c00908c9506b78b16 /test/Driver/split-debug.c
parent59320e770f90a59c74f2be10f198e3c390195628 (diff)
Don't pass -split-dwarf= to the backend unless we're on linux for
now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/split-debug.c')
-rw-r--r--test/Driver/split-debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Driver/split-debug.c b/test/Driver/split-debug.c
index a3711e4c0f..fb01953b0d 100644
--- a/test/Driver/split-debug.c
+++ b/test/Driver/split-debug.c
@@ -8,3 +8,7 @@
// CHECK-ACTIONS: objcopy{{.*}}--strip-dwo{{.*}}"split-debug.o"
+// RUN: %clang -target x86_64-macosx -gsplit-dwarf -c -### %s 2> %t
+// RUN: FileCheck -check-prefix=CHECK-NO-ACTIONS < %t %s
+//
+// CHECK-NO-ACTIONS-NOT: -split-dwarf