| 1 | // Confirm that -gsplit-dwarf=DIR is passed to linker |
|---|---|
| 2 | |
| 3 | // RUN: %clang -target x86_64-unknown-linux -### %s -flto=thin -gsplit-dwarf -o a.out 2> %t |
| 4 | // RUN: FileCheck -check-prefix=CHECK-LINK-DWO-DIR-DEFAULT < %t %s |
| 5 | // |
| 6 | // CHECK-LINK-DWO-DIR-DEFAULT: "-plugin-opt=dwo_dir=a.out_dwo" |
| 7 |