[clang] [clang][Driver] Support passing arbitrary args to `-cc1as` with `-Xclangas`. (PR #100714)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 18 15:03:38 PDT 2025


================
@@ -0,0 +1,6 @@
+/// Check that -Xclangas/-Xclangas= are passed to -cc1as.
+// RUN: %clang -### -Xclangas -target-feature -Xclangas=+v5t %s 2>&1 | \
----------------
MaskRay wrote:

Also add a `-Werror` to test `Arg->claim();`. I haven't tested, but without `Arg->claim();` there will be a warning / or error if -Werror

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


More information about the cfe-commits mailing list