2012-04-14 14:01:31 +00:00
|
|
|
// RUN: env RC_DEBUG_OPTIONS=1 %clang -target i386-apple-darwin9 -g -Os %s -emit-llvm -S -o - | FileCheck %s
|
2010-01-01 10:34:51 +00:00
|
|
|
// <rdar://problem/7256886>
|
2012-04-14 14:01:31 +00:00
|
|
|
// RUN: touch %t.s
|
|
|
|
// RUN: env RC_DEBUG_OPTIONS=1 %clang -### -target i386-apple-darwin9 -c -g %t.s 2>&1 | FileCheck -check-prefix=S %s
|
2013-04-08 18:45:10 +00:00
|
|
|
// <rdar://problem/12955296>
|
|
|
|
// RUN: %clang -### -target i386-apple-darwin9 -c -g %t.s 2>&1 | FileCheck -check-prefix=P %s
|
2010-01-01 10:34:51 +00:00
|
|
|
|
2011-06-12 15:46:16 +00:00
|
|
|
// CHECK: !0 = metadata !{
|
2010-07-13 17:21:42 +00:00
|
|
|
// CHECK: -g -Os
|
2010-09-17 15:54:40 +00:00
|
|
|
// CHECK: -mmacosx-version-min=10.5.0
|
2010-01-01 10:34:51 +00:00
|
|
|
// CHECK: [ DW_TAG_compile_unit ]
|
|
|
|
|
|
|
|
int x;
|
2012-04-14 14:01:31 +00:00
|
|
|
|
|
|
|
// S: "-dwarf-debug-flags"
|
2013-04-08 18:45:10 +00:00
|
|
|
|
|
|
|
// P: "-dwarf-debug-producer"
|