[clang] 8d9eeb0 - [Driver][OpenBSD] Add comments for C++ tests

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 21 21:48:14 PST 2022


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 \


        


More information about the cfe-commits mailing list