Home | History | Annotate | Download | only in Driver

Lines Matching full:darwin

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