[PATCH] D101194: [Driver] Push multiarch path setup to individual drivers
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 23 20:35:48 PDT 2021
MaskRay added a comment.
> Different platforms use different rules for multiarch triples so it's difficult to provide a single method for all platforms.
Guess this is a Linux/Hurd/Fuchsia specific thing. I don't know much about the runtime build but I hope the hierarchy is not set in stone.
Can you dump a diff how `addPathIfExists(D, getStdlibPath(), Paths);` and a similar call will change `-L` paths in the linking stage?
You can use `clang ... '-###' |& sed -E 's/ "?-L/\n&/g; s/ "?-[iI]/\n&/g'` to break -L into multiple lines.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101194/new/
https://reviews.llvm.org/D101194
More information about the cfe-commits
mailing list