Changeset View
Changeset View
Standalone View
Standalone View
test/Driver/openbsd.c
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | |||||
// CHECK-POWERPC: as{{.*}}" "-mppc" "-many" | // CHECK-POWERPC: as{{.*}}" "-mppc" "-many" | ||||
// CHECK-SPARC: as{{.*}}" "-32" "-Av8" | // CHECK-SPARC: as{{.*}}" "-32" "-Av8" | ||||
// CHECK-SPARC64: as{{.*}}" "-64" "-Av9" | // CHECK-SPARC64: as{{.*}}" "-64" "-Av9" | ||||
// CHECK-MIPS64: as{{.*}}" "-mabi" "64" "-EB" | // CHECK-MIPS64: as{{.*}}" "-mabi" "64" "-EB" | ||||
// CHECK-MIPS64-PIC: as{{.*}}" "-mabi" "64" "-EB" "-KPIC" | // CHECK-MIPS64-PIC: as{{.*}}" "-mabi" "64" "-EB" "-KPIC" | ||||
// CHECK-MIPS64EL: as{{.*}}" "-mabi" "64" "-EL" | // CHECK-MIPS64EL: as{{.*}}" "-mabi" "64" "-EL" | ||||
// CHECK-MIPS64EL-PIC: as{{.*}}" "-mabi" "64" "-EL" "-KPIC" | // CHECK-MIPS64EL-PIC: as{{.*}}" "-mabi" "64" "-EL" "-KPIC" | ||||
// Check that the integrated assembler is enabled for MIPS64 | |||||
// RUN: %clang -target mips64-unknown-openbsd -### -c %s 2>&1 \ | |||||
// RUN: | FileCheck -check-prefix=CHECK-MIPS64-AS %s | |||||
// RUN: %clang -target mips64el-unknown-openbsd -### -c %s 2>&1 \ | |||||
// RUN: | FileCheck -check-prefix=CHECK-MIPS64-AS %s | |||||
// CHECK-MIPS64-AS-NOT: "-no-integrated-as" | |||||
// Check linking against correct startup code when (not) using PIE | // Check linking against correct startup code when (not) using PIE | ||||
// RUN: %clang -no-canonical-prefixes -target i686-pc-openbsd %s -### 2>&1 \ | // RUN: %clang -no-canonical-prefixes -target i686-pc-openbsd %s -### 2>&1 \ | ||||
// RUN: | FileCheck -check-prefix=CHECK-PIE %s | // RUN: | FileCheck -check-prefix=CHECK-PIE %s | ||||
// RUN: %clang -no-canonical-prefixes -target i686-pc-openbsd -pie %s -### 2>&1 \ | // RUN: %clang -no-canonical-prefixes -target i686-pc-openbsd -pie %s -### 2>&1 \ | ||||
// RUN: | FileCheck -check-prefix=CHECK-PIE-FLAG %s | // RUN: | FileCheck -check-prefix=CHECK-PIE-FLAG %s | ||||
// RUN: %clang -no-canonical-prefixes -target i686-pc-openbsd -fno-pie %s -### 2>&1 \ | // RUN: %clang -no-canonical-prefixes -target i686-pc-openbsd -fno-pie %s -### 2>&1 \ | ||||
// RUN: | FileCheck -check-prefix=CHECK-PIE %s | // RUN: | FileCheck -check-prefix=CHECK-PIE %s | ||||
// RUN: %clang -no-canonical-prefixes -target i686-pc-openbsd -static %s -### 2>&1 \ | // RUN: %clang -no-canonical-prefixes -target i686-pc-openbsd -static %s -### 2>&1 \ | ||||
Show All 22 Lines |