[PATCH] D151188: [lld] Find resource and lib dir
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 24 00:09:02 PDT 2023
phosek added a comment.
I hope we can avoid duplicating the logic between Clang and LLD by extracting it into a library which is what we discussed and this patch is trying to do. We also had a discussion about extracting more of Clang's driver logic into a new top-level project so it can be shared between Clang and Flang, but that's a much bigger project that should be discussed separately (although if we decide to pursue it, we would move the `WindowsDriver` library into this new project).
Regarding the target handling, what's your opinion on introducing a new option (for example `/target:`) with the default value being the host target (that is the same behavior that's used by Clang)?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151188/new/
https://reviews.llvm.org/D151188
More information about the llvm-commits
mailing list