[clang] [Clang] Include LLVM libc header directory from Linux (PR #175593)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 15 09:42:11 PST 2026


================
@@ -0,0 +1,3 @@
+// RUN:   %clang -### --target=x86_64-unknown-linux-llvm --sysroot=%S/Inputs/basic_llvm_linux_tree \
----------------
MaskRay wrote:

This is the first time clang/test/Driver has a `*-linux-llvm` triple test. I expect a comment that this is about a toolchain using llvm libc. 

There are many users using linux toolchains without using llvm libc, so I was a -1 on the original `linux-llvm` naming.

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


More information about the cfe-commits mailing list