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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to