diff options
author | Eric Christopher <echristo@gmail.com> | 2013-02-21 22:35:01 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-02-21 22:35:01 +0000 |
commit | 59320e770f90a59c74f2be10f198e3c390195628 (patch) | |
tree | c0c78faf45256362117931d83b0622dc57de92ff /test/Driver/split-debug.c | |
parent | 7a95de68c093991047ed8d339479ccad51b88663 (diff) |
Remove the SplitDebug action and replace with a set of commands
in the compilation setup. Note that this doesn't currently
work for -no-integrated-as.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/split-debug.c')
-rw-r--r-- | test/Driver/split-debug.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/test/Driver/split-debug.c b/test/Driver/split-debug.c index c3903eaaa7..a3711e4c0f 100644 --- a/test/Driver/split-debug.c +++ b/test/Driver/split-debug.c @@ -1,19 +1,10 @@ // Check that we split debug output properly // // REQUIRES: asserts -// RUN: %clang -target x86_64-unknown-linux-gnu -ccc-print-phases \ -// RUN: -gsplit-dwarf -arch x86_64 %s 2> %t +// RUN: %clang -target x86_64-unknown-linux-gnu -gsplit-dwarf -c -### %s 2> %t // RUN: FileCheck -check-prefix=CHECK-ACTIONS < %t %s // -// CHECK-ACTIONS: 0: input, "{{.*}}split-debug.c", c -// CHECK-ACTIONS: 4: split-debug, {3}, object +// CHECK-ACTIONS: objcopy{{.*}}--extract-dwo{{.*}}"split-debug.dwo" +// CHECK-ACTIONS: objcopy{{.*}}--strip-dwo{{.*}}"split-debug.o" -// Check output name derivation. -// -// RUN: %clang -target x86_64-unknown-linux-gnu -ccc-print-bindings \ -// RUN: -gsplit-dwarf -arch x86_64 -c %s 2> %t -// RUN: FileCheck -check-prefix=CHECK-OUTPUT-NAME < %t %s -// -// CHECK-OUTPUT-NAME:# "x86_64-unknown-linux-gnu" - "clang", inputs: ["{{.*}}split-debug.c"], output: "{{.*}}split-debug{{.*}}.o" -// CHECK-OUTPUT-NAME:# "x86_64-unknown-linux-gnu" - "linuxtools::SplitDebug", inputs: ["{{.*}}split-debug{{.*}}.o"], output: "{{.*}}split-debug{{.*}}.o" |