diff options
Diffstat (limited to 'test/Driver/split-debug.c')
-rw-r--r-- | test/Driver/split-debug.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Driver/split-debug.c b/test/Driver/split-debug.c index d8a9fe841e27..792abbd55259 100644 --- a/test/Driver/split-debug.c +++ b/test/Driver/split-debug.c @@ -23,3 +23,13 @@ // RUN: FileCheck -check-prefix=CHECK-OPTION < %t %s // // CHECK-OPTION: "-split-dwarf-file" "split-debug.dwo" + +// RUN: %clang -target x86_64-unknown-linux-gnu -gsplit-dwarf -S -### %s 2> %t +// RUN: FileCheck -check-prefix=CHECK-ASM < %t %s +// +// CHECK-ASM-NOT: objcopy + +// RUN: %clang -target x86_64-unknown-linux-gnu -no-integrated-as -gsplit-dwarf -c -### %s 2> %t +// RUN: FileCheck -check-prefix=CHECK-IAS < %t %s +// +// CHECK-IAS: objcopy |