summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/split-debug.h
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2017-05-11 08:25:22 +0000
committerSerge Pavlov <sepavloff@gmail.com>2017-05-11 08:25:22 +0000
commit738d3b97af3aa7fd8878879a639ba48a6254dbe8 (patch)
treefe2e8f69e0354d8b5f0181e5e920e59384132933 /clang/test/Driver/split-debug.h
parent1f53d03a15d3ba35fa19ffeb08d5dce1392e3139 (diff)
downloadbcm5719-llvm-738d3b97af3aa7fd8878879a639ba48a6254dbe8.tar.gz
bcm5719-llvm-738d3b97af3aa7fd8878879a639ba48a6254dbe8.zip
Reverted r302775
llvm-svn: 302777
Diffstat (limited to 'clang/test/Driver/split-debug.h')
-rw-r--r--clang/test/Driver/split-debug.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Driver/split-debug.h b/clang/test/Driver/split-debug.h
index a27ebb2e6f1..bb05f30b675 100644
--- a/clang/test/Driver/split-debug.h
+++ b/clang/test/Driver/split-debug.h
@@ -3,4 +3,13 @@
// RUN: %clang -target x86_64-unknown-linux-gnu -gsplit-dwarf -c -fmodules -### %s 2> %t
// RUN: FileCheck -check-prefix=CHECK-NO-ACTIONS < %t %s
//
+// RUN: %clang -target x86_64-unknown-linux-gnu -gsplit-dwarf -c -fmodules -emit-module -fmodules-embed-all-files -fno-implicit-modules -fno-implicit-module-maps -### %s 2> %t
+// RUN: FileCheck -check-prefix=CHECK-NO-ACTIONS < %t %s
+//
+// FIXME: This should fail using clang, except that the type of the output for
+// an object output with modules is given as clang::driver::types::TY_PCH
+// rather than TY_Object.
+// RUN: %clang -target x86_64-unknown-linux-gnu -gsplit-dwarf -c -fmodules -fmodule-format=obj -### %s 2> %t
+// RUN: FileCheck -check-prefix=CHECK-NO-ACTIONS < %t %s
+//
// CHECK-NO-ACTIONS-NOT: objcopy
OpenPOWER on IntegriCloud