From d380400b1787d7eab9ec991e053cef562198ad48 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 22 Feb 2013 20:12:52 +0000 Subject: 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 --- clang/test/Driver/split-debug.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'clang/test/Driver/split-debug.c') 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" -- cgit v1.2.3