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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 15 10:14:58 PST 2026


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

FWIW, I still would prefer to get to a place where users can do something like `-cstdlib=libc` vs `-cstdlib=musl`, etc instead of having to muck about with the environment on the triple, so it's more similar to how you select the C++ standard library. But I recognize that's far outside the scope of this PR too.

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


More information about the cfe-commits mailing list