[Driver][OpenBSD] Add comments for C++ tests

This commit is contained in:
Brad Smith 2022-02-22 00:20:46 -05:00
parent 289b725051
commit 8d9eeb03b3
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
// Check libraries used when linking C++
// RUN: %clangxx %s -### -o %t.o -target amd64-pc-openbsd 2>&1 \ // RUN: %clangxx %s -### -o %t.o -target amd64-pc-openbsd 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-CXX %s // RUN: | FileCheck --check-prefix=CHECK-CXX %s
// RUN: %clangxx %s -### -o %t.o -target i686-pc-openbsd 2>&1 \ // RUN: %clangxx %s -### -o %t.o -target i686-pc-openbsd 2>&1 \
@ -8,6 +9,7 @@
// RUN: | FileCheck --check-prefix=CHECK-CXX %s // RUN: | FileCheck --check-prefix=CHECK-CXX %s
// CHECK-CXX: "-lc++" "-lc++abi" "-lpthread" "-lm" // CHECK-CXX: "-lc++" "-lc++abi" "-lpthread" "-lm"
// Check for profiling variants of libraries when linking C++
// RUN: %clangxx %s -### -pg -o %t.o -target amd64-pc-openbsd 2>&1 \ // RUN: %clangxx %s -### -pg -o %t.o -target amd64-pc-openbsd 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-PG-CXX %s // RUN: | FileCheck --check-prefix=CHECK-PG-CXX %s
// RUN: %clangxx %s -### -pg -o %t.o -target i686-pc-openbsd 2>&1 \ // RUN: %clangxx %s -### -pg -o %t.o -target i686-pc-openbsd 2>&1 \