summaryrefslogtreecommitdiff
path: root/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
commit80190399f5a062db72127869978699af65951b73 (patch)
treeb84691eda8ba51167c29bf44ecdb0d3514b0ad9b /test/Driver/split-debug.c
parentae7396c3891748762d01431e16541b3eb9125c4d (diff)
downloadclang-80190399f5a062db72127869978699af65951b73.tar.gz
clang-80190399f5a062db72127869978699af65951b73.tar.bz2
clang-80190399f5a062db72127869978699af65951b73.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175916 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/split-debug.c')
-rw-r--r--test/Driver/split-debug.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Driver/split-debug.c b/test/Driver/split-debug.c
index 5c77e6e98c..d8a9fe841e 100644
--- a/test/Driver/split-debug.c
+++ b/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"