1// Check that we split debug output properly 2// 3// RUN: %clang -target x86_64-unknown-linux-gnu -gsplit-dwarf -c -### %s 2> %t 4// RUN: FileCheck -check-prefix=CHECK-ACTIONS < %t %s 5// 6// CHECK-ACTIONS: "-split-dwarf-file" "split-debug.dwo" 7 8 9// RUN: %clang -target x86_64-macosx -gsplit-dwarf -c -### %s 2> %t 10// RUN: FileCheck -check-prefix=CHECK-NO-ACTIONS < %t %s 11// 12// CHECK-NO-ACTIONS-NOT: -split-dwarf 13 14 15// RUN: %clang -target x86_64-unknown-linux-gnu -gsplit-dwarf -o Bad.x -### %s 2> %t 16// RUN: FileCheck -check-prefix=CHECK-BAD < %t %s 17// 18// CHECK-BAD-NOT: "Bad.dwo" 19 20