diff options
author | Eric Christopher <echristo@gmail.com> | 2013-02-22 01:33:46 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-02-22 01:33:46 +0000 |
commit | 5704d34444ecd7e1baa90026fb36c47207e0a3b7 (patch) | |
tree | b86be2cb8ae282c93d7f308097d2638a34fe7dbe /test/Driver/split-debug.c | |
parent | f0b1a0ee4787cd60a34951950baa6dd7d3d53a64 (diff) | |
download | clang-5704d34444ecd7e1baa90026fb36c47207e0a3b7.tar.gz clang-5704d34444ecd7e1baa90026fb36c47207e0a3b7.tar.bz2 clang-5704d34444ecd7e1baa90026fb36c47207e0a3b7.tar.xz |
Make sure we only use the output file as a base for debug splitting
if we're compiling.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175851 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/split-debug.c')
-rw-r--r-- | test/Driver/split-debug.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/split-debug.c b/test/Driver/split-debug.c index fb01953b0d..5c77e6e98c 100644 --- a/test/Driver/split-debug.c +++ b/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" |