blob: a5c4878703bd677505deee670ebb19032c3148ac [file] [log] [blame]
Rafael Espindola701ec8d2012-03-08 14:39:55 +00001// RUN: %clang -target x86_64-apple-darwin -### -S -integrated-as %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-DARWIN-MC-DEFAULT %s
2// RUN: %clang -target x86_64-apple-darwin -### -S -integrated-as -fdwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-DARWIN-MC-CFI %s
3// RUN: %clang -target x86_64-apple-darwin -### -S -integrated-as -fno-dwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-DARWIN-MC-NOCFI %s
4
5// RUN: %clang -target x86_64-apple-darwin -### -S -no-integrated-as %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-DARWIN-AS-DEFAULT %s
6// RUN: %clang -target x86_64-apple-darwin -### -S -no-integrated-as -fdwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-DARWIN-AS-CFI %s
7// RUN: %clang -target x86_64-apple-darwin -### -S -no-integrated-as -fno-dwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-DARWIN-AS-NOCFI %s
8
9
10// RUN: %clang -target x86_64-pc-linux -### -S -integrated-as %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-LINUX-MC-DEFAULT %s
11// RUN: %clang -target x86_64-pc-linux -### -S -integrated-as -fdwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-LINUX-MC-CFI %s
12// RUN: %clang -target x86_64-pc-linux -### -S -integrated-as -fno-dwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-LINUX-MC-NOCFI %s
13
14// RUN: %clang -target x86_64-pc-linux -### -S -no-integrated-as %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-LINUX-AS-DEFAULT %s
15// RUN: %clang -target x86_64-pc-linux -### -S -no-integrated-as -fdwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-LINUX-AS-CFI %s
16// RUN: %clang -target x86_64-pc-linux -### -S -no-integrated-as -fno-dwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-LINUX-AS-NOCFI %s
17
18
19
20// CHECK-DARWIN-MC-DEFAULT-NOT: -fno-dwarf2-cfi-asm
21// CHECK-DARWIN-MC-CFI-NOT: -fno-dwarf2-cfi-asm
22// CHECK-DARWIN-MC-NOCFI: -fno-dwarf2-cfi-asm
23
24// CHECK-DARWIN-AS-DEFAULT: -fno-dwarf2-cfi-asm
25// CHECK-DARWIN-AS-CFI-NOT: -fno-dwarf2-cfi-asm
26// CHECK-DARWIN-AS-NOCFI: -fno-dwarf2-cfi-asm
27
28
29// CHECK-LINUX-MC-DEFAULT-NOT: -fno-dwarf2-cfi-asmx
30// CHECK-LINUX-MC-CFI-NOT: -fno-dwarf2-cfi-asm
31// CHECK-LINUX-MC-NOCFI: -fno-dwarf2-cfi-asm
32
33// CHECK-LINUX-AS-DEFAULT-NOT: -fno-dwarf2-cfi-asm
34// CHECK-LINUX-AS-CFI-NOT: -fno-dwarf2-cfi-asm
35// CHECK-LINUX-AS-NOCFI: -fno-dwarf2-cfi-asm