[clang] [Driver] Make use of AddFilePathLibArgs() on NetBSD. (PR #71371)

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 14 08:15:38 PST 2023


================
@@ -461,3 +461,8 @@
 // DRIVER-PASS-INCLUDES:      "-cc1" {{.*}}"-resource-dir" "[[RESOURCE:[^"]+]]"
 // DRIVER-PASS-INCLUDES-SAME: "-internal-isystem" "[[RESOURCE]]{{/|\\\\}}include"
 // DRIVER-PASS-INCLUDES-SAME: {{^}} "-internal-externc-isystem" "{{.*}}/usr/include"
+
+// Check that the driver passes the system library path.
----------------
brad0 wrote:

Good points made. I'll take a look at changing the test as well as making sure sysroot is used.

https://github.com/llvm/llvm-project/pull/71371


More information about the cfe-commits mailing list