Debian Codegraph @

clang/test/Driver/darwin-debug-flags.c

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