From 77569ffd0617b583e40c3e685a8b3f193ede7514 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 22 Feb 2013 01:33:46 +0000 Subject: Make sure we only use the output file as a base for debug splitting if we're compiling. llvm-svn: 175851 --- clang/test/Driver/split-debug.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'clang/test/Driver/split-debug.c') diff --git a/clang/test/Driver/split-debug.c b/clang/test/Driver/split-debug.c index fb01953b0d6..5c77e6e98cf 100644 --- a/clang/test/Driver/split-debug.c +++ b/clang/test/Driver/split-debug.c @@ -12,3 +12,9 @@ // RUN: FileCheck -check-prefix=CHECK-NO-ACTIONS < %t %s // // CHECK-NO-ACTIONS-NOT: -split-dwarf + + +// RUN: %clang -target x86_64-unknown-linux-gnu -gsplit-dwarf -o Bad.x -### %s 2> %t +// RUN: FileCheck -check-prefix=CHECK-BAD < %t %s +// +// CHECK-BAD-NOT: "Bad.dwo" -- cgit v1.2.3