mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-20 12:05:48 -04:00

- OpenBSD has switched to compiler_rt / libcxx - Fix sysroot and lib path handling - Some cleaning up llvm-svn: 344257
20 lines
1.0 KiB
C++
20 lines
1.0 KiB
C++
// RUN: %clangxx %s -### -o %t.o -target amd64-pc-openbsd 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CXX %s
|
|
// RUN: %clangxx %s -### -o %t.o -target i686-pc-openbsd 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CXX %s
|
|
// RUN: %clangxx %s -### -o %t.o -target aarch64-unknown-openbsd 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CXX %s
|
|
// RUN: %clangxx %s -### -o %t.o -target arm-unknown-openbsd 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CXX %s
|
|
// CHECK-CXX: "-lc++" "-lc++abi" "-lm"
|
|
|
|
// RUN: %clangxx %s -### -pg -o %t.o -target amd64-pc-openbsd 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-PG-CXX %s
|
|
// RUN: %clangxx %s -### -pg -o %t.o -target i686-pc-openbsd 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-PG-CXX %s
|
|
// RUN: %clangxx %s -### -pg -o %t.o -target aarch64-unknown-openbsd 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-PG-CXX %s
|
|
// RUN: %clangxx %s -### -pg -o %t.o -target arm-unknown-openbsd 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-PG-CXX %s
|
|
// CHECK-PG-CXX: "-lc++_p" "-lc++abi_p" "-lm_p"
|