[clang] [LinkerWrapper] Add support for --no-canonical-prefixes (PR #184160)
Aiden Grossman via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 2 10:50:04 PST 2026
================
@@ -532,6 +537,9 @@ Expected<StringRef> clang(ArrayRef<StringRef> InputFiles, const ArgList &Args,
Args.MakeArgString("--target=" + Triple.getTriple()),
};
+ if (!CanonicalPrefixes)
+ CmdArgs.push_back("-no-canonical-prefixes");
----------------
boomanaiden154 wrote:
> If there's no way to detect if we should do that without the option then it should probably be a separate thing.
What exactly do you mean here by "a separate thing"?
https://github.com/llvm/llvm-project/pull/184160
More information about the cfe-commits
mailing list