Author: Brad Smith Date: 2022-02-22T00:20:46-05:00 New Revision: 8d9eeb03b3e9c800843659f243242f262d7bd786
URL: https://github.com/llvm/llvm-project/commit/8d9eeb03b3e9c800843659f243242f262d7bd786 DIFF: https://github.com/llvm/llvm-project/commit/8d9eeb03b3e9c800843659f243242f262d7bd786.diff LOG: [Driver][OpenBSD] Add comments for C++ tests Added: Modified: clang/test/Driver/openbsd.cpp Removed: ################################################################################ diff --git a/clang/test/Driver/openbsd.cpp b/clang/test/Driver/openbsd.cpp index 23c365d28e7e..417783b8d5a2 100644 --- a/clang/test/Driver/openbsd.cpp +++ b/clang/test/Driver/openbsd.cpp @@ -1,3 +1,4 @@ +// Check libraries used when linking 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 \ @@ -8,6 +9,7 @@ // RUN: | FileCheck --check-prefix=CHECK-CXX %s // 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: | FileCheck --check-prefix=CHECK-PG-CXX %s // RUN: %clangxx %s -### -pg -o %t.o -target i686-pc-openbsd 2>&1 \ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits