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 | d380400b1787d7eab9ec991e053cef562198ad48 (patch) | |
tree | ff505179ea6c5195d7c84cb9c488b8c6facc3b60 /clang/test/Driver/split-debug.c | |
parent | c358da2f4bda5faf1a9fa72706a485acaa04551d (diff) | |
download | bcm5719-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.c | 5 |
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" |