Lines Matching full:darwin
35 // CHECK-NON-DARWIN-DYNAMIC-NO-PIC: error: unsupported option '-mdynamic-no-pic' for target 'i386-unknown-unknown'
136 // Darwin is a beautiful and unique snowflake when it comes to these flags.
137 // When targetting a 32-bit darwin system, the -fno-* flag variants work and
141 // RUN: %clang -c %s -target i386-apple-darwin -### 2>&1 \
143 // RUN: %clang -c %s -target i386-apple-darwin -fpic -### 2>&1 \
145 // RUN: %clang -c %s -target i386-apple-darwin -fPIC -### 2>&1 \
147 // RUN: %clang -c %s -target i386-apple-darwin -fpie -### 2>&1 \
149 // RUN: %clang -c %s -target i386-apple-darwin -fPIE -### 2>&1 \
151 // RUN: %clang -c %s -target i386-apple-darwin -fno-PIC -### 2>&1 \
153 // RUN: %clang -c %s -target i386-apple-darwin -fno-PIE -### 2>&1 \
155 // RUN: %clang -c %s -target i386-apple-darwin -fno-PIC -fpic -### 2>&1 \
157 // RUN: %clang -c %s -target i386-apple-darwin -fno-PIC -fPIE -### 2>&1 \
159 // RUN: %clang -c %s -target x86_64-apple-darwin -fno-PIC -### 2>&1 \
161 // RUN: %clang -c %s -target x86_64-apple-darwin -fno-PIE -### 2>&1 \
163 // RUN: %clang -c %s -target x86_64-apple-darwin -fpic -### 2>&1 \
165 // RUN: %clang -c %s -target x86_64-apple-darwin -fPIE -### 2>&1 \
168 // Darwin gets even more special with '-mdynamic-no-pic'. This flag is only
169 // valid on Darwin, and it's behavior is very strange but needs to remain
172 // RUN: | FileCheck %s --check-prefix=CHECK-NON-DARWIN-DYNAMIC-NO-PIC
173 // RUN: %clang -c %s -target i386-apple-darwin -mdynamic-no-pic -### 2>&1 \
175 // RUN: %clang -c %s -target i386-apple-darwin -mdynamic-no-pic -fno-pic -### 2>&1 \
177 // RUN: %clang -c %s -target i386-apple-darwin -mdynamic-no-pic -fpie -### 2>&1 \
179 // RUN: %clang -c %s -target x86_64-apple-darwin -mdynamic-no-pic -### 2>&1 \
181 // RUN: %clang -c %s -target x86_64-apple-darwin -mdynamic-no-pic -fno-pic -### 2>&1 \
183 // RUN: %clang -c %s -target x86_64-apple-darwin -mdynamic-no-pic -fpie -### 2>&1 \