Home | History | Annotate | Download | only in Driver

Lines Matching full:darwin

40 // CHECK-NON-DARWIN-DYNAMIC-NO-PIC: error: unsupported option '-mdynamic-no-pic' for target 'i386-unknown-unknown'
153 // Darwin is a beautiful and unique snowflake when it comes to these flags.
154 // When targeting a 32-bit darwin system, the -fno-* flag variants work and
158 // RUN: %clang -c %s -target i386-apple-darwin -### 2>&1 \
160 // RUN: %clang -c %s -target i386-apple-darwin -fpic -### 2>&1 \
162 // RUN: %clang -c %s -target i386-apple-darwin -fPIC -### 2>&1 \
164 // RUN: %clang -c %s -target i386-apple-darwin -fpie -### 2>&1 \
166 // RUN: %clang -c %s -target i386-apple-darwin -fPIE -### 2>&1 \
168 // RUN: %clang -c %s -target i386-apple-darwin -fno-PIC -### 2>&1 \
170 // RUN: %clang -c %s -target i386-apple-darwin -fno-PIE -### 2>&1 \
172 // RUN: %clang -c %s -target i386-apple-darwin -fno-PIC -fpic -### 2>&1 \
174 // RUN: %clang -c %s -target i386-apple-darwin -fno-PIC -fPIE -### 2>&1 \
176 // RUN: %clang -c %s -target x86_64-apple-darwin -fno-PIC -### 2>&1 \
178 // RUN: %clang -c %s -target x86_64-apple-darwin -fno-PIE -### 2>&1 \
180 // RUN: %clang -c %s -target x86_64-apple-darwin -fpic -### 2>&1 \
182 // RUN: %clang -c %s -target x86_64-apple-darwin -fPIE -### 2>&1 \
184 // RUN: %clang -c %s -target x86_64-apple-darwin -fPIC -### 2>&1 \
187 // Darwin gets even more special with '-mdynamic-no-pic'. This flag is only
188 // valid on Darwin, and it's behavior is very strange but needs to remain
191 // RUN: | FileCheck %s --check-prefix=CHECK-NON-DARWIN-DYNAMIC-NO-PIC
192 // RUN: %clang -c %s -target i386-apple-darwin -mdynamic-no-pic -### 2>&1 \
194 // RUN: %clang -c %s -target i386-apple-darwin -mdynamic-no-pic -fno-pic -### 2>&1 \
196 // RUN: %clang -c %s -target i386-apple-darwin -mdynamic-no-pic -fpie -### 2>&1 \
198 // RUN: %clang -c %s -target x86_64-apple-darwin -mdynamic-no-pic -### 2>&1 \
200 // RUN: %clang -c %s -target x86_64-apple-darwin -mdynamic-no-pic -fno-pic -### 2>&1 \
202 // RUN: %clang -c %s -target x86_64-apple-darwin -mdynamic-no-pic -fpie -### 2>&1 \