diff options
author | Eric Christopher <echristo@gmail.com> | 2013-02-22 20:12:52 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-02-22 20:12:52 +0000 |
commit | 80190399f5a062db72127869978699af65951b73 (patch) | |
tree | b84691eda8ba51167c29bf44ecdb0d3514b0ad9b /test/Driver/split-debug.c | |
parent | ae7396c3891748762d01431e16541b3eb9125c4d (diff) | |
download | clang-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.c | 5 |
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" |