summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/split-debug.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-02-22 20:12:52 +0000
committerEric Christopher <echristo@gmail.com>2013-02-22 20:12:52 +0000
commitd380400b1787d7eab9ec991e053cef562198ad48 (patch)
treeff505179ea6c5195d7c84cb9c488b8c6facc3b60 /clang/test/Driver/split-debug.c
parentc358da2f4bda5faf1a9fa72706a485acaa04551d (diff)
downloadbcm5719-llvm-d380400b1787d7eab9ec991e053cef562198ad48.tar.gz
bcm5719-llvm-d380400b1787d7eab9ec991e053cef562198ad48.zip
Split out the command handling for split debug info, we're going
to want to propagate some information through the module into the back end and so need to pass it through to codegen. Also make the methods file static so we can use them in other places. llvm-svn: 175916
Diffstat (limited to 'clang/test/Driver/split-debug.c')
-rw-r--r--clang/test/Driver/split-debug.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Driver/split-debug.c b/clang/test/Driver/split-debug.c
index 5c77e6e98cf..d8a9fe841e2 100644
--- a/clang/test/Driver/split-debug.c
+++ b/clang/test/Driver/split-debug.c
@@ -18,3 +18,8 @@
// RUN: FileCheck -check-prefix=CHECK-BAD < %t %s
//
// CHECK-BAD-NOT: "Bad.dwo"
+
+// RUN: %clang -target x86_64-unknown-linux-gnu -gsplit-dwarf -c -### %s 2> %t
+// RUN: FileCheck -check-prefix=CHECK-OPTION < %t %s
+//
+// CHECK-OPTION: "-split-dwarf-file" "split-debug.dwo"
OpenPOWER on IntegriCloud