1 | // RUN: env RC_DEBUG_OPTIONS=1 %clang -target i386-apple-darwin9 -I "path with \spaces" -g -Os %s -emit-llvm -S -o - | FileCheck %s |
2 | // <rdar://problem/7256886> |
3 | // RUN: touch %t.s |
4 | // RUN: env RC_DEBUG_OPTIONS=1 %clang -### -target i386-apple-darwin9 -c -g %t.s 2>&1 | FileCheck -check-prefix=S %s |
5 | // <rdar://problem/12955296> |
6 | // RUN: %clang -### -target i386-apple-darwin9 -c -g %t.s 2>&1 | FileCheck -check-prefix=P %s |
7 | |
8 | // CHECK: distinct !DICompileUnit( |
9 | // CHECK-SAME: flags: |
10 | // CHECK-SAME: -I path\5C with\5C \5C\5Cspaces |
11 | // CHECK-SAME: -g -Os |
12 | // CHECK-SAME: -mmacosx-version-min=10.5.0 |
13 | |
14 | int x; |
15 | |
16 | // S: "-dwarf-debug-flags" |
17 | |
18 | // P: "-dwarf-debug-producer" |
19 | |