[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / darwin-debug-flags.c
blob918ee345658a0e1f8160e380f47af281978f2ed0
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
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.0
12 int x;
14 // S: "-dwarf-debug-flags"
16 // P: "-dwarf-debug-producer"