From 8d9eeb03b3e9c800843659f243242f262d7bd786 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Tue, 22 Feb 2022 00:20:46 -0500 Subject: [PATCH] [Driver][OpenBSD] Add comments for C++ tests --- clang/test/Driver/openbsd.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 \