1*f4a2713aSLionel Sambuc // RUN: env RC_DEBUG_OPTIONS=1 %clang -target i386-apple-darwin9 -g -Os %s -emit-llvm -S -o - | FileCheck %s 2*f4a2713aSLionel Sambuc // <rdar://problem/7256886> 3*f4a2713aSLionel Sambuc // RUN: touch %t.s 4*f4a2713aSLionel Sambuc // RUN: env RC_DEBUG_OPTIONS=1 %clang -### -target i386-apple-darwin9 -c -g %t.s 2>&1 | FileCheck -check-prefix=S %s 5*f4a2713aSLionel Sambuc // <rdar://problem/12955296> 6*f4a2713aSLionel Sambuc // RUN: %clang -### -target i386-apple-darwin9 -c -g %t.s 2>&1 | FileCheck -check-prefix=P %s 7*f4a2713aSLionel Sambuc 8*f4a2713aSLionel Sambuc // CHECK: !0 = metadata !{ 9*f4a2713aSLionel Sambuc // CHECK: -g -Os 10*f4a2713aSLionel Sambuc // CHECK: -mmacosx-version-min=10.5.0 11*f4a2713aSLionel Sambuc // CHECK: [ DW_TAG_compile_unit ] 12*f4a2713aSLionel Sambuc 13*f4a2713aSLionel Sambuc int x; 14*f4a2713aSLionel Sambuc 15*f4a2713aSLionel Sambuc // S: "-dwarf-debug-flags" 16*f4a2713aSLionel Sambuc 17*f4a2713aSLionel Sambuc // P: "-dwarf-debug-producer" 18