[clang] [LinkerWrapper] Add support for --no-canonical-prefixes (PR #184160)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 2 13:47:13 PST 2026


================
@@ -9335,6 +9335,7 @@ void LinkerWrapper::ConstructJob(Compilation &C, const JobAction &JA,
       OPT_save_temps_EQ,
       OPT_mcode_object_version_EQ,
       OPT_load,
+      OPT_no_canonical_prefixes,
----------------
jhuber6 wrote:

The clang driver computes the paths for these tools, I was more referring to passing forward the root of the 'clang-toolchain' since this config basically assumes they're disparate as far as I'm understanding. Not dissimilar to finding the GCC prefix or CUDA root?

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


More information about the cfe-commits mailing list