Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
If this piece of code used to be working correctly, there is another piece of code that adds -flavor ld to the command line. But if that's the case, this change wouldn't work because it constructs something like "ld.lld -flavor ld ...". ld.lld doesn't accept -flavor option.
So my guess is this code is dead. Or, am I missing something?
Comment Actions
The tools::gnutools::Linker::ConstructJob method contains code which adds -flavor old-gnu command line option if linker name is "lld". Probably this code can be removed now.