mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 10:16:05 +00:00

to compile a translation unit into the debug info for that file. - Used by parts of Darwin build process to check compiler flags, etc. - <rdar://problem/7256886> clang does not emit AT_APPLE_flags llvm-svn: 91661
12 lines
295 B
C
12 lines
295 B
C
// RUN: env RC_DEBUG_OPTIONS=1 %clang -ccc-host-triple i386-apple-darwin9 -g -Os %s -emit-llvm -S -o - | FileCheck %s
|
|
// <rdar://problem/7256886>
|
|
|
|
// CHECK: !1 = metadata !{
|
|
// CHECK: -cc1
|
|
// CHECK: -triple i386-apple-darwin9
|
|
// CHECK: -g
|
|
// CHECK: -Os
|
|
// CHECK: [DW_TAG_compile_unit ]
|
|
|
|
int x;
|