[clang] [Multilib] Extend the Multilib system to support an IncludepPath field. (PR #146651)
Simon Tatham via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 11 05:46:11 PDT 2025
================
@@ -0,0 +1,28 @@
+
+# REQUIRES: shell
+# UNSUPPORTED: system-windows
+
+# This test demonstrates the new "IncludePath" field.
+# This field allows specifying include paths through
+# multilib.yaml configuration using relative paths.
+# Absolute paths should be rejected by the driver
+# with an appropriate diagnostic message.
+#
+# This test verifies that passing an absolute path
+# (/include) to IncludePath triggers the expected
+# error.
+
+# # RUN: %clang --target=aarch64-none-elf --multi-lib-config=%s %s -### -o /dev/null 2>&1 \
----------------
statham-arm wrote:
Ah, I see! Well found.
https://github.com/llvm/llvm-project/pull/146651
More information about the cfe-commits
mailing list