You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
653 B
21 lines
653 B
4 months ago
|
// Check that we split debug output properly
|
||
|
//
|
||
|
// RUN: %clang -target x86_64-unknown-linux-gnu -gsplit-dwarf -c -### %s 2> %t
|
||
|
// RUN: FileCheck -check-prefix=CHECK-ACTIONS < %t %s
|
||
|
//
|
||
|
// CHECK-ACTIONS: objcopy{{.*}}--extract-dwo{{.*}}"split-debug.dwo"
|
||
|
// CHECK-ACTIONS: objcopy{{.*}}--strip-dwo{{.*}}"split-debug.o"
|
||
|
|
||
|
|
||
|
// RUN: %clang -target x86_64-macosx -gsplit-dwarf -c -### %s 2> %t
|
||
|
// RUN: FileCheck -check-prefix=CHECK-NO-ACTIONS < %t %s
|
||
|
//
|
||
|
// CHECK-NO-ACTIONS-NOT: -split-dwarf
|
||
|
|
||
|
|
||
|
// RUN: %clang -target x86_64-unknown-linux-gnu -gsplit-dwarf -o Bad.x -### %s 2> %t
|
||
|
// RUN: FileCheck -check-prefix=CHECK-BAD < %t %s
|
||
|
//
|
||
|
// CHECK-BAD-NOT: "Bad.dwo"
|
||
|
|