diff options
Diffstat (limited to 'test/Driver/lto-dwo.c')
-rw-r--r-- | test/Driver/lto-dwo.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/lto-dwo.c b/test/Driver/lto-dwo.c new file mode 100644 index 000000000000..486ace43f01a --- /dev/null +++ b/test/Driver/lto-dwo.c @@ -0,0 +1,6 @@ +// Confirm that -gsplit-dwarf=DIR is passed to linker + +// RUN: %clang -target x86_64-unknown-linux -### %s -flto=thin -gsplit-dwarf -o a.out 2> %t +// RUN: FileCheck -check-prefix=CHECK-LINK-DWO-DIR-DEFAULT < %t %s +// +// CHECK-LINK-DWO-DIR-DEFAULT: "-plugin-opt=dwo_dir=a.out_dwo" |